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
Medium

K-th Smallest Element

Find the k-th smallest value without fully sorting.

AdvancedCompetitive-programmingSorting
No solutions yet
Easy

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

ArraysBeginnerLearning-pathNested-loops
No solutions yet
Medium

Tournament Standings

Rank teams from match records.

DictionariesParsingSorting
No solutions yet
Easy

Multiplication Grid

Build a full multiplication table.

BeginnerLearning-pathNested-loops
No solutions yet
Hard

Count Inversions

Count the out-of-order pairs in a list.

AdvancedCompetitive-programmingSorting
No solutions yet
Easy

Number Triangle

Build a triangle of increasing numbers.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Pangram Check

A pangram contains every English letter at least once.

SetsStrings
No solutions yet
Easy

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
No solutions yet
Hard

Shortest Delivery Tour

Visit every city once and return home as cheaply as possible.

AdvancedBitmasksCompetitive-programmingDynamic-programming
No solutions yet
Easy

Roman Numeral Value

Convert a Roman numeral to a number.

BeginnerLookup-tablesStringsStudent-beginner
No solutions yet
Easy

Hollow Square

Draw the outline of a square with * characters.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Hard

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
No solutions yet
Medium

Game of Life Step

Advance Conway's Game of Life by one generation.

AdvancedGridsHackathonSimulation
No solutions yet
Medium

Digit Power Sum

Add each digit raised to its position from the left.

Algorithms
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

Digital Root

Sum the digits repeatedly until one digit remains.

Algorithms
No solutions yet
Medium

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
No solutions yet