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

Array Maximum

Find the largest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Hamming Distance

Compare two DNA strings position by position and count the differences.

SequencesStrings
No solutions yet
Easy

Rotate Array

Rotate a list to the right by some steps.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Array Minimum

Find the smallest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Medium

Nearest Smaller Value to the Left

For each number, find the closest earlier position containing a strictly smaller number.

ArraysStacks
No solutions yet
Easy

Acronym Generator

Create an acronym from the first letter of every word, in uppercase.

ParsingStrings
No solutions yet
Easy

Count Words

Count the words in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

BeginnerNumbers
No solutions yet
Easy

Move Zeroes

Move every zero to the end while keeping the other order.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Difference of Squares

Subtract the sum of squares from the square of the sum.

Beginnermath
No solutions yet
Easy

Array Average

Compute the average of a list of numbers.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Longest Word

Find the longest word in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Sum an Array

Add up all values in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Chess Square Color

Determine the color of a square on an 8 by 8 board.

Beginnermath
No solutions yet
Easy

Hours, Minutes, and Seconds

Convert a duration in seconds to a compact readable string.

Beginnermath
No solutions yet
Easy

Flatten a 2D Array

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

ArraysLoops
No solutions yet
Easy

Smallest Digit

Find the smallest decimal digit of a positive integer.

Beginner
No solutions yet
Easy

Factorial

Multiply all positive integers up to n.

Beginner
No solutions yet