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

Missing Number

Find the one number missing from 0..n.

ArraysBeginnerStudent-beginnermath
No solutions yet
Hard

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
No solutions yet
Easy

Remove Duplicates

Keep only the first occurrence of each value.

ArraysBeginnerSetsStudent-beginner
No solutions yet
Medium

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
No solutions yet
Easy

Median of a List

Find the middle value of a list after sorting.

Arraysmath
No solutions yet
Easy

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
No solutions yet
Medium

Subtract Digits to Reach Zero

Use as few digit subtractions as possible to reach zero.

Dynamic-programmingNumbers
No solutions yet
Medium

Two Nonattacking Knights

Count safe placements of two knights for each square board size.

Combinatoricsmath
No solutions yet
Medium

Island Perimeter

Measure the coastline of land cells in a grid.

AdvancedGridsHackathon
No solutions yet
Medium

Exact Fraction Arithmetic

Perform fraction operations and return a reduced fraction.

Fractionsmath
No solutions yet
Hard

Largest Rectangle in a Histogram

Find the largest rectangle that fits under a histogram.

AdvancedCompetitive-programmingStacks
No solutions yet
Easy

Largest of Three

Pick the largest of three numbers without a built-in max.

BeginnerConditionsLearning-path
No solutions yet
Medium

Longest Common Subsequence Length

A subsequence is formed by deleting zero or more elements while preserving the order of the remaining elements.

Dynamic-programmingSequences
No solutions yet
Easy

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
No solutions yet
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

BeginnerLearning-pathVariables
No solutions yet
Easy

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
No solutions yet
Medium

Recursive Power

Compute a power recursively by halving the exponent.

BeginnerLearning-pathRecursion
No solutions yet
Easy

Hollow Square

Draw the outline of a square with * characters.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet