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.

40 challenges
Easy

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
No solutions yet
Medium

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
No solutions yet
Medium

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
No solutions yet
Easy

Every Other Character

Keep the characters at even positions.

BeginnerLearning-pathStrings
No solutions yet
Easy

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

BeginnerLearning-pathVariables
No solutions yet
Easy

Days in a Month

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

BeginnerConditionsFunctionsLearning-path
No solutions yet
Easy

Min and Max Together

Find the smallest and largest value in one pass.

ArraysBeginnerFunctionsLearning-path
No solutions yet
Easy

Halve Until One

Count how many halvings bring a number down to 1.

BeginnerLearning-pathLoops
No solutions yet
Easy

First Negative Index

Find where the first negative number appears.

ArraysBeginnerLearning-path
No solutions yet
Easy

Average of Three

Average three whole numbers.

BeginnerLearning-pathVariables
No solutions yet
Easy

Simple Interest

Find the total amount after simple interest.

BeginnerLearning-pathVariables
No solutions yet
Easy

Cart Total With Discount

Total a shopping cart and apply a discount above a threshold.

ArraysBeginnerFunctionsLearning-path
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
Easy

Above-Average Values

Keep the values that are greater than the average.

ArraysBeginnerLearning-path
No solutions yet
Medium

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
No solutions yet
Easy

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
No solutions yet
Easy

Largest of Three

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

BeginnerConditionsLearning-path
No solutions yet
Easy

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
No solutions yet