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
0
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

150 challenges
Easy

Ticket Price by Age

Choose a cinema ticket price from the visitor's age.

BeginnerConditionsLearning-path
No solutions yet
Easy

Hours, Minutes, and Seconds

Convert a duration in seconds to a compact readable string.

Beginnermath
No solutions yet
Medium

Count Grid Paths

Count routes across a rectangular grid using only right and down moves.

CombinatoricsDynamic-programming
No solutions yet
Hard

Minimum Elevator Rides

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

Dynamic-programmingOptimization
No solutions yet
Hard

Trapping Rain Water

Compute how much rain water an elevation map holds.

AdvancedArraysCompetitive-programmingGreedy
No solutions yet
Medium

Readability Grade

Estimate the school grade needed to read a text.

BeginnerStringsStudent-beginnermath
No solutions yet
Medium

Minesweeper Neighbor Counts

Annotate a rectangular board.

ArraysGrids
No solutions yet
Hard

Cut a Rectangle Into Squares

Find the fewest straight cuts needed to produce only squares.

Dynamic-programmingGeometry
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
Medium

Number Spiral Lookup

Find a value by row and column in an expanding number spiral.

Patternsmath
No solutions yet
Easy

Array Minimum

Find the smallest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Medium

Empty Two Coin Piles

Decide whether paired removals can empty two piles.

Greedymath
No solutions yet
Easy

Longest Word

Find the longest word in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Sum an Array

Add up all values in a list.

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

Number Triangle

Build a triangle of increasing numbers.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Multiplication Grid

Build a full multiplication table.

BeginnerLearning-pathNested-loops
No solutions yet
Easy

Array Average

Compute the average of a list of numbers.

ArraysBeginnerStudent-beginner
No solutions yet