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

Countdown to Liftoff

Count down from a number and end with Liftoff!

BeginnerLearning-pathLoops
No solutions yet
Easy

Letter Grade

Turn a test score into a letter grade.

BeginnerConditionsLearning-path
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
No solutions yet
Medium

Raise a Number to a Fractional Power

Raise a positive real number to a rational exponent.

Fractionsmath
No solutions yet
Hard

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
No solutions yet
Easy

Fibonacci Number

Return the n-th Fibonacci number.

BeginnerLoopsSequencesStudent-beginner
No solutions yet
Medium

Tic-Tac-Toe Winner

Decide the result of a tic-tac-toe board.

BeginnerConditionsGridsLearning-path
No solutions yet
Easy

Multiplication Table Row

List the first multiples of a number.

BeginnerLearning-pathLoops
No solutions yet
Easy

Initials From a Name

Build uppercase initials from a full name.

BeginnerLearning-pathStrings
No solutions yet
Easy

Median of a List

Find the middle value of a list after sorting.

Arraysmath
No solutions yet
Easy

Absolute Value Without abs

Compute an absolute value with a condition.

BeginnerConditionsLearning-path
No solutions yet
Hard

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
No solutions yet
Easy

Point Quadrant

Find which quadrant a point lies in.

BeginnerConditionsLearning-path
No solutions yet
Easy

Flatten a 2D Array

Combine the rows of a 2D integer array into one array.

ArraysLoops
No solutions yet
Easy

Missing Number

Find the one number missing from 0..n.

ArraysBeginnerStudent-beginnermath
No solutions yet
Medium

Tree Diameter

A tree is a connected undirected graph with no cycles.

GraphsTrees
No solutions yet
Medium

Exact Fraction Arithmetic

Perform fraction operations and return a reduced fraction.

Fractionsmath
No solutions yet
Easy

Sum an Array

Add up all values in a list.

ArraysBeginnerStudent-beginner
No solutions yet