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.

40 challenges
Easy

Count Pairs With a Sum

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

ArraysBeginnerLearning-pathNested-loops
No solutions yet
Easy

Number Triangle

Build a triangle of increasing numbers.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Medium

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
No solutions yet
Easy

Multiplication Grid

Build a full multiplication table.

BeginnerLearning-pathNested-loops
No solutions yet
Easy

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
No solutions yet
Easy

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Hollow Square

Draw the outline of a square with * characters.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Easy

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

BeginnerLearning-pathVariables
No solutions yet
Easy

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
No solutions yet
Easy

Average of Three

Average three whole numbers.

BeginnerLearning-pathVariables
Medium

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
No solutions yet
Easy

Every Other Character

Keep the characters at even positions.

BeginnerLearning-pathStrings
No solutions yet
Easy

Min and Max Together

Find the smallest and largest value in one pass.

ArraysBeginnerFunctionsLearning-path
No solutions yet
Easy

Days in a Month

Return how many days a month has, including leap years.

BeginnerConditionsFunctionsLearning-path
No solutions yet
Easy

First Negative Index

Find where the first negative number appears.

ArraysBeginnerLearning-path
No solutions yet
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

BeginnerLearning-pathVariables
Easy

Simple Interest

Find the total amount after simple interest.

BeginnerLearning-pathVariables
No solutions yet
Easy

Above-Average Values

Keep the values that are greater than the average.

ArraysBeginnerLearning-path
No solutions yet