Challenge Problems // Sharpen your Programming Skills

 
Advanced

PRA15: A Matter of Life and Death

Find the length of the shortest path through a maze, given a limited number of passes through walls.

Beginner

PRB15: Alien Username

In a galaxy far far away, a planet different from ours, computer usernames follow a different format.

Advanced

PRA14: The Sphinx

For the past 200 years, the Sphinx has asked the same riddle, and afterhaving devoured the thousands of passersby who failed to answer herquestion, she is incredibly bored...

Beginner

PRB14: The Dead Center of Battle

Under siege by the Greek army, the Trojans are desperately trying todefend their city from invasion. Do you choose to help them?

Beginner

PRB13: College Credits, Here I Come

You just graduated from college and got that degree in Computer Science and you are ready to begin your journey out in the world.

Advanced

PRA13: Food Poisoning

Figure out who's infected with chicken pox based on a set of transmission rules.

Beginner

PRB12: Long Snapper

Find the length of the longest run in a string.

Advanced

PRA12: A King's Match

Find the minimal total King distance from a point to all of the other points

Beginner

PRB11: Scantron Score

Oh no! Your school's scantron machine seems to be broken and the repair man can't fix it in time! Can you use your super-human programming skills to save the day?

Advanced

PRA11: Radar Crabs

Poseidon, the king of the Sea, needs your help to count the number of crabs in his army.

Beginner

PRB10: FizzBuzz

Fizzzzzzz. Buzzzzzz. FizzzzBuzzzzz.

Advanced

PRA10: String Modication

Roy was given a string s containing only uppercase English letters that he has to process. Can you help him out?

Beginner

PRB9: Palindromesemordnilap

Output the length of the shortest palindrome containing the input as a contiguous substring.

Advanced

PRA9: Seat Selection

Given the number of people and a skip count, determine where you should start to sit where you want.

Beginner

PRB8: The Difference

Inspired by this comic, you decided to do an experiment to see how people will react to pulling a lever that zaps them.

Advanced

PRA8: The Laziest of them All

Simon is a very lazy boy, who always sleeps in his Math class. One day his teacher catches him sleeping and tells him that she will fail him unless he can prove himself to her by answering her question. If Simon can answer it correctly, she will forgive him. Can you help him find the answer to this problem?

Beginner

PRB7: What's Next?

Currently, Steve is learning about sequences and series in his math class, but he's having trouble identifying the next term in a sequence. Can you write a program to help out your friend?

Advanced

PRA7: Save the Green. Make Less Cuts.

Barbara has decided to become a lumberjack! She's having some trouble on her first job at the company, so she needs your help to solve her problems...

Beginner

PRB6: Turning the Tables

Rotato Farms needs your help again! They wanna hire you to fix their new issues...

Advanced

PRA6: See No Evil, Speak No Evil

Great news! The jRobot Corporation, widely celebrated for its self-vacuuming Zoomba robot, is on the verge of completing its prototype ...

Beginner

PRB5: Taking the (K)nots out of a String?

Your friend, Steve, has recently started a babysitting service, however some of the children have begun to be more troublesome...

Advanced

PRA5: Tower of Hanoi

Since ancient times, the monks of Lucas' Tower have honored their most cryptic tradition.

Beginner

PRB4: The Not-So-Secret Language

You've been brushing up on some history and discovered that Thomas Jefferson wrote using a special code with his friends!

Advanced

PRA4: Equation Solver

After tutoring younger students for a while, you've come up with a brilliant solution to ease your workload...

Beginner

PRB3: Intro to Statistics

You have recently been hired by a senior in high school taking AP Statistics to help him on his homework. Your mission, should you choose to accept it, is to ...

Advanced

PRA3: A Classic - Knight's Tour

It is your turn to solve one of the most classic mathematical-based problems (dating all the way back to 9th century A.D.) using your advanced programming skills!

Beginner

PRB2: Today's the Date

Your new client, Carlos, has been having some problems with his memory recently. He's wants you to write a program for him that...

Advanced

PRA2: Step In, Don't Tire

The local police department has carefully selected you to help them with their new physical training program. I hope they know that you're a different type of programmer!

Beginner

PRB1: First Submission

This is a special challenge to make you familiar with IO.

Advanced

PRA1: Hired!

You've been hired by Rotato Farms Inc. to write a program that calculates the GCD between two given numbers. Only one problem...