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

Count Words

Count the words in a sentence.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Title Case

Capitalize the first letter of every word.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Palindrome String

Check whether text reads the same forwards and backwards.

BeginnerStringsStudent-beginner
No solutions yet
Medium

Longest Common Subsequence Length

A subsequence is formed by deleting zero or more elements while preserving the order of the remaining elements.

Dynamic-programmingSequences
No solutions yet
Easy

Sum of Multiples

Add values below a limit divisible by any supplied factor.

BeginnerNumbers
No solutions yet
Easy

Fizz Buzz

Build a sequence using divisibility by 3 and 5.

BeginnerNumbers
No solutions yet
Easy

Leap Year

Check whether a year follows the Gregorian leap-year rule.

BeginnerNumbers
No solutions yet
Hard

Sliding Window Maximum

Report the maximum of every window of k numbers.

AdvancedCompetitive-programmingSliding-window
No solutions yet
Easy

Odd, Even, or Neither

Classify a number by whether it is an odd integer, an even integer, or neither.

BeginnerNumbers
No solutions yet
Medium

Readability Grade

Estimate the school grade needed to read a text.

BeginnerStringsStudent-beginnermath
No solutions yet
Easy

Reverse a String

Return the characters of a string in reverse order.

BeginnerStringsStudent-beginner
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

Anagram Check

Check whether two phrases use the same letters.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Count Vowels

Count the vowels in a piece of text.

BeginnerStringsStudent-beginner
No solutions yet
Easy

Largest Digit

Find the largest decimal digit of a positive integer.

Beginner
No solutions yet
Easy

Least Common Multiple

Find the smallest positive number divisible by both values.

BeginnerNumbersStudent-beginner
No solutions yet
Easy

Factorial

Multiply all positive integers up to n.

Beginner
No solutions yet
Easy

Sum of Digits

Add up the decimal digits of a positive integer.

Beginner
No solutions yet