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.

84 challenges
Easy

Palindrome String

Check whether text reads the same forwards and backwards.

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

Replace Spaces With Dashes

Turn spaces into dashes to make a URL-style slug.

BeginnerLearning-pathStrings
No solutions yet
Easy

Triangular Number

Add the integers from 1 through n.

Beginner
No solutions yet
Easy

Password Rules Check

Check a password against simple strength rules.

BeginnerConditionsLearning-pathStrings
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

Sum of Digits

Add up the decimal digits of a positive integer.

Beginner
No solutions yet
Easy

Reverse a Number

Reverse the decimal digits of a positive integer.

Beginner
No solutions yet
Easy

Square a Number

Multiply an integer by itself.

Beginner
No solutions yet
Easy

Smallest Digit

Find the smallest decimal digit of a positive integer.

Beginner
No solutions yet
Easy

Count Digits

Count the decimal digits of a positive integer.

Beginner
No solutions yet