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

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
No solutions yet
Hard

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
No solutions yet
Easy

Pangram Check

A pangram contains every English letter at least once.

SetsStrings
No solutions yet
Easy

Roman Numeral Value

Convert a Roman numeral to a number.

BeginnerLookup-tablesStringsStudent-beginner
No solutions yet
Easy

Average of Three

Average three whole numbers.

BeginnerLearning-pathVariables
Medium

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
No solutions yet
Medium

Find Right-Triangle Triples

List all integer right triangles with a specified perimeter.

GeometryNumber-theory
No solutions yet
Medium

Factory Production Time

Find the earliest time parallel machines can finish a target number of items.

AlgorithmsBinary-search
No solutions yet
Easy

Every Other Character

Keep the characters at even positions.

BeginnerLearning-pathStrings
No solutions yet
Medium

Digit Power Sum

Add each digit raised to its position from the left.

Algorithms
No solutions yet
Easy

Min and Max Together

Find the smallest and largest value in one pass.

ArraysBeginnerFunctionsLearning-path
No solutions yet
Easy

Days in a Month

Return how many days a month has, including leap years.

BeginnerConditionsFunctionsLearning-path
No solutions yet
Easy

Remove Duplicates

Keep only the first occurrence of each value.

ArraysBeginnerSetsStudent-beginner
No solutions yet
Medium

Count Dice Sequences

Count ordered die-roll sequences with a given total.

CombinatoricsDynamic-programming
No solutions yet
Medium

Digital Root

Sum the digits repeatedly until one digit remains.

Algorithms
No solutions yet
Medium

Sum of Primes Below a Limit

Add all primes strictly below a limit.

Number-theorySieve
No solutions yet
Easy

DNA to RNA Transcription

Build an RNA string by replacing every DNA character with its partner.

MappingStrings
No solutions yet
Easy

Classify a Number by Its Divisors

Classify a positive integer as perfect, abundant, or deficient.

BeginnerNumber-theory
No solutions yet