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.

16 challenges
Easy

Doubling Grains on a Chessboard

Calculate a square’s grain count and the total on all 64 squares.

NumbersSequences
No solutions yet
Easy

Collatz Sequence

Follow the halve-or-triple-and-add-one rule until reaching 1.

NumbersSimulation
No solutions yet
Medium

Largest Adjacent-Digit Product

Take every contiguous window of span digits and multiply its digits.

NumbersSliding-window
No solutions yet
Easy

Palindrome Number

Check whether a number reads the same backwards.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Prime Number Check

Decide whether a number is prime.

BeginnerLoopsNumbersStudent-beginner
No solutions yet
Hard

Count Numbers With Distinct Neighbors

Count range values whose adjacent decimal digits are never equal.

Dynamic-programmingNumbers
No solutions yet
Medium

Subtract Digits to Reach Zero

Use as few digit subtractions as possible to reach zero.

Dynamic-programmingNumbers
No solutions yet
Easy

Sum Even Fibonacci Terms

Add the even Fibonacci terms that do not exceed a limit.

NumbersSequences
No solutions yet
Easy

Sum of Multiples

Add values below a limit divisible by any supplied factor.

BeginnerNumbers
No solutions yet
Easy

Armstrong Number

Check whether a number equals the sum of its digits raised to the digit count.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Greatest Common Divisor

Find the largest number that divides both values.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Power of Two

Check whether a number is a power of two.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

BeginnerNumbers
No solutions yet
Easy

Leap Year

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

BeginnerNumbers
No solutions yet
Easy

Least Common Multiple

Find the smallest positive number divisible by both values.

BeginnerNumbersStudent-beginner
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