Programming Challenges

Strengthen your problem-solving skills with language-neutral challenges you can solve in Python, C++, or C#. Every submission is checked by automated tests and reviewed by AI.

  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
Learning path
150
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

150 challenges
Easy

Median of a List

Find the middle value of a list after sorting.

Arraysmath
No solutions yet
Medium

Smallest Missing Coin Sum

Find the first positive amount that cannot be made from the available coins.

ArraysGreedy
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
No solutions yet
Easy

Power of Two

Check whether a number is a power of two.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Greatest Common Divisor

Find the largest number that divides both values.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Leap Year

Check whether a year follows the Gregorian leap-year rule.

BeginnerNumbers
No solutions yet
Easy

Make an Array Nondecreasing

Find the fewest increments needed so each value is at least the previous one.

ArraysGreedy
No solutions yet
Easy

Sum of Multiples

Add values below a limit divisible by any supplied factor.

BeginnerNumbers
No solutions yet
Easy

Pascal’s Triangle

Build rows by adding neighboring entries from the previous row.

ArraysCombinatorics
No solutions yet
Medium

Digital Root

Sum the digits repeatedly until one digit remains.

Algorithms
No solutions yet
Easy

Odd, Even, or Neither

Classify a number by whether it is an odd integer, an even integer, or neither.

BeginnerNumbers
No solutions yet
Easy

Count Vowels

Count the vowels in a piece of text.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Anagram Check

Check whether two phrases use the same letters.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Palindrome String

Check whether text reads the same forwards and backwards.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Title Case

Capitalize the first letter of every word.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Word Tile Score

Add the tile values for every letter in a word.

Lookup-tablesStrings
No solutions yet
Easy

Second Largest Value

Find the second largest distinct value.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Reverse a String

Return the characters of a string in reverse order.

BeginnerStringsStudent-beginner
No solutions yet