Practice arena
Solve real problems in your browser
1146 problems with 4,584 test cases. Write a solution, run the visible tests, then submit against the hidden suite.
Problem bank
1146
Easy: 703Medium: 431Hard: 12
Run, then submit
Run checks the visible examples. Submit runs the full suite, hidden cases included, and records your progress.
JavaScript, TypeScript & Python
Solutions run in a sandboxed worker with a 5-second limit per run; Python runs on CPython compiled to WebAssembly. Console output is captured for debugging.
All problems
Prefer timed exams? Try MCQ rounds- 1Two SumEasy
- 2Valid PalindromeEasy
- 3FizzBuzzEasy
- 4Reverse StringEasy
- 5Contains DuplicateEasy
- 6Valid AnagramEasy
- 7Best Time to Buy and Sell StockEasy
- 8Move ZeroesEasy
- 9Single NumberEasy
- 10Plus OneEasy
- 11Remove Duplicates from Sorted ArrayEasy
- 12Length of Last WordEasy
- 13Roman to IntegerEasy
- 14Longest Common PrefixEasy
- 15Majority ElementEasy
- 16Merge Sorted ArrayEasy
- 17Maximum SubarrayMedium
- 18Product of Array Except SelfMedium
- 193SumMedium
- 20Longest Substring Without Repeating CharactersMedium
- 21Valid ParenthesesEasy
- 22Binary SearchEasy
- 23Climbing StairsEasy
- 24Merge IntervalsMedium
- 25Group AnagramsMedium
- 26Coin ChangeMedium
- 27Longest Palindromic SubstringMedium
- 28Trapping Rain WaterHard
- 29Spiral MatrixMedium
- 30Median of Two Sorted ArraysHard
- 31Sqrt(x)Easy
- 32Excel Sheet Column NumberEasy
- 33Isomorphic StringsEasy
- 34Ransom NoteEasy
- 35Word PatternEasy
- 36First Unique Character in a StringEasy
- 37Intersection of Two ArraysEasy
- 38Missing NumberEasy
- 39Add BinaryEasy
- 40Happy NumberEasy
- 41Power of TwoEasy
- 42Find the Index of the First OccurrenceEasy
- 43Fibonacci NumberEasy
- 44Count PrimesEasy
- 45Number of 1 BitsEasy
- 46Reverse BitsEasy
- 47Remove ElementEasy
- 48Kids With the Greatest Number of CandiesEasy
- 49Shuffle the ArrayEasy
- 50Number of Steps to Reduce a Number to ZeroEasy
- 51Running Sum of 1d ArrayEasy
- 52Final Value of Variable After OperationsEasy
- 53Richest Customer WealthEasy
- 54Defanging an IP AddressEasy
- 55Goal Parser InterpretationEasy
- 56Find Numbers with Even Number of DigitsEasy
- 57Count of Matches in TournamentEasy
- 58To Lower CaseEasy
- 59Number of Good PairsEasy
- 60How Many Numbers Are Smaller Than the Current NumberEasy
Showing 60 of 1146 matching problems (1146 in the arena)