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.

84 challenges
Easy

Swap First and Last

Exchange the first and last items of a list.

ArraysBeginnerLearning-path
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

Simple Interest

Find the total amount after simple interest.

BeginnerLearning-pathVariables
No solutions yet
Easy

Count Positive Numbers

Count the values greater than zero in a list.

ArraysBeginnerLearning-path
No solutions yet
Easy

Sum an Array

Add up all values in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Power by Repeated Multiplication

Raise a number to a power with a loop.

BeginnerLearning-pathLoops
No solutions yet
Easy

Array Minimum

Find the smallest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Array Maximum

Find the largest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Ticket Price by Age

Choose a cinema ticket price from the visitor's age.

BeginnerConditionsLearning-path
No solutions yet
Easy

Missing Number

Find the one number missing from 0..n.

ArraysBeginnerStudent-beginnermath
No solutions yet
Easy

Cash: Fewest Coins

Give change with as few U.S. coins as possible.

BeginnerGreedyStudent-beginnermath
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
No solutions yet
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

BeginnerLearning-pathVariables
Easy

Largest of Three

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

BeginnerConditionsLearning-path
No solutions yet
Easy

Count Uppercase Letters

Count the capital letters in a text.

BeginnerLearning-pathStrings
No solutions yet
Easy

Second Largest Value

Find the second largest distinct value.

ArraysBeginnerStudent-beginner
No solutions yet
Medium

Recursive Palindrome

Check a palindrome recursively, ignoring case and punctuation.

BeginnerLearning-pathRecursionStrings
No solutions yet
Easy

Initials From a Name

Build uppercase initials from a full name.

BeginnerLearning-pathStrings
No solutions yet