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
Hard

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
No solutions yet
Easy

Fibonacci Number

Return the n-th Fibonacci number.

BeginnerLoopsSequencesStudent-beginner
No solutions yet
Easy

Multiplication Table Row

List the first multiples of a number.

BeginnerLearning-pathLoops
No solutions yet
Easy

Absolute Value Without abs

Compute an absolute value with a condition.

BeginnerConditionsLearning-path
No solutions yet
Easy

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
No solutions yet
Easy

Median of a List

Find the middle value of a list after sorting.

Arraysmath
No solutions yet
Easy

Initials From a Name

Build uppercase initials from a full name.

BeginnerLearning-pathStrings
No solutions yet
Easy

Body Mass Index

Compute BMI from weight and height.

BeginnerLearning-pathVariables
No solutions yet
Easy

Flatten a 2D Array

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

ArraysLoops
No solutions yet
Easy

Letter Grade

Turn a test score into a letter grade.

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

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
Easy

Sum an Array

Add up all values in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Array Minimum

Find the smallest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Point Quadrant

Find which quadrant a point lies in.

BeginnerConditionsLearning-path
No solutions yet
Medium

Minesweeper Neighbor Counts

Annotate a rectangular board.

ArraysGrids
No solutions yet