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
Hard

Find Many Patterns in Text

For each requested pattern, decide whether it appears as a contiguous substring anywhere in the shared text.

Pattern-matchingStringsTries
No solutions yet
Easy

Least Common Multiple

Find the smallest positive number divisible by both values.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Countdown to Liftoff

Count down from a number and end with Liftoff!

BeginnerLearning-pathLoops
No solutions yet
Easy

Point Quadrant

Find which quadrant a point lies in.

BeginnerConditionsLearning-path
No solutions yet
Easy

Body Mass Index

Compute BMI from weight and height.

BeginnerLearning-pathVariables
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
Medium

Tournament Standings

Rank teams from match records.

DictionariesParsingSorting
No solutions yet
Easy

Triangle Classification

Classify three side lengths as invalid, equilateral, isosceles, or scalene.

ConditionsGeometry
No solutions yet
Medium

Tic-Tac-Toe Winner

Decide the result of a tic-tac-toe board.

BeginnerConditionsGridsLearning-path
No solutions yet
Easy

Sum of Odd Numbers

Add every odd number up to a limit.

BeginnerLearning-pathLoops
No solutions yet
Medium

Largest Prime Factor

Find the largest prime that divides a positive integer.

AlgorithmsNumber-theory
No solutions yet
Hard

Sliding Window Maximum

Report the maximum of every window of k numbers.

AdvancedCompetitive-programmingSliding-window
No solutions yet
Medium

Tree Diameter

A tree is a connected undirected graph with no cycles.

GraphsTrees
No solutions yet
Easy

Sum Even Fibonacci Terms

Add the even Fibonacci terms that do not exceed a limit.

NumbersSequences
No solutions yet
Easy

Hamming Distance

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

SequencesStrings
No solutions yet
Medium

Can We Split Into Two Teams?

Decide whether people can be assigned to two teams so that each listed pair is on opposite teams.

BipartiteGraphs
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

BeginnerNumbers
No solutions yet
Easy

Greatest Common Divisor

Find the largest number that divides both values.

BeginnerNumbersStudent-beginner
No solutions yet