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.

150 challenges
Medium

Robot Command Simulator

Move a robot using L (turn left 90 degrees), R (turn right 90 degrees), and A (advance one step).

SimulationState-machines
No solutions yet
Hard

Count Numbers With Distinct Neighbors

Count range values whose adjacent decimal digits are never equal.

Dynamic-programmingNumbers
No solutions yet
Easy

Count Words

Count the words in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Array Maximum

Find the largest value in a list.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Running Sum

Replace each value with the total so far.

ArraysBeginnerLearning-path
No solutions yet
Easy

Power by Repeated Multiplication

Raise a number to a power with a loop.

BeginnerLearning-pathLoops
No solutions yet
Easy

Chess Square Color

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

Beginnermath
No solutions yet
Easy

Second Largest Value

Find the second largest distinct value.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Character Frequency

Count how often each character appears.

BeginnerDictionariesStringsStudent-beginner
No solutions yet
Easy

Fibonacci Number

Return the n-th Fibonacci number.

BeginnerLoopsSequencesStudent-beginner
No solutions yet
Easy

Palindrome Number

Check whether a number reads the same backwards.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

BeginnerLearning-pathNested-loopsPatterns
No solutions yet
Medium

Count Coin Combinations

Count ways to make an amount with unlimited coins of specified denominations.

CombinatoricsDynamic-programming
No solutions yet
Medium

Smallest Missing Coin Sum

Find the first positive amount that cannot be made from the available coins.

ArraysGreedy
No solutions yet
Easy

Rotate Array

Rotate a list to the right by some steps.

ArraysBeginnerStudent-beginner
No solutions yet
Easy

Absolute Value Without abs

Compute an absolute value with a condition.

BeginnerConditionsLearning-path
No solutions yet
Easy

Pangram Check

A pangram contains every English letter at least once.

SetsStrings
No solutions yet
Easy

First Unique Character

Find the first character that appears only once.

BeginnerDictionariesStringsStudent-beginner
No solutions yet