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

Chess Square Color

Determine the color of a square on an 8 by 8 board.

Beginnermath
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
Hard

Minimum Elevator Rides

Group people into as few weight-limited elevator rides as possible.

Dynamic-programmingOptimization
No solutions yet
Easy

Row Sums

Add up every row of a grid.

BeginnerGridsLearning-path
No solutions yet
Easy

Move Zeroes

Move every zero to the end while keeping the other order.

ArraysBeginnerStudent-beginner
No solutions yet
Hard

Matrix Chain Multiplication

Find the cheapest order to multiply a chain of matrices.

AdvancedCompetitive-programmingDynamic-programming
No solutions yet
Easy

Palindrome Number

Check whether a number reads the same backwards.

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

Greatest Common Divisor

Find the largest number that divides both values.

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

Longest Word

Find the longest word in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Difference of Squares

Subtract the sum of squares from the square of the sum.

Beginnermath
No solutions yet
Easy

Rotate Array

Rotate a list to the right by some steps.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Power of Two

Check whether a number is a power of two.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Password Rules Check

Check a password against simple strength rules.

BeginnerConditionsLearning-pathStrings
No solutions yet
Easy

Sum Even Fibonacci Terms

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

NumbersSequences
No solutions yet
Easy

Palindrome String

Check whether text reads the same forwards and backwards.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

BeginnerNumbers
No solutions yet