Ctrl K

Coding problems

Algorithm problems with tests in Python, JavaScript, Java, Go and C++, checked on our server.

Pair With a Target SumArray · Hash TableEasyAdding Digit ListsRecursion · Linked List · MathMediumLongest Repeat-Free StretchHash Table · String · Sliding WindowMediumMedian Across Two ArraysArray · Binary Search · Divide and ConquerHardLongest Mirror FragmentTwo Pointers · String · Dynamic ProgrammingMediumReading a Zigzag by RowsStringMediumBackwards Digits in 32 BitsMathMediumLenient Number ReaderStringMediumA Number That Reads Both WaysMathEasyPattern With Dot and StarRecursion · String · Dynamic ProgrammingHardTwo Boards Holding WaterGreedy · Array · Two PointersMediumNumber in Roman NumeralsHash Table · Math · StringMediumValue of a Roman NumeralHash Table · Math · StringEasyShared Start of WordsTrie · StringEasyZero-Sum TriplesArray · Two Pointers · SortingMediumTriple Sum Nearest the TargetArray · Two Pointers · SortingMediumKeypad WordsHash Table · String · BacktrackingMediumFour Numbers to a TargetArray · Two Pointers · SortingMediumDrop the K-th Node From the TailLinked List · Two PointersMediumBracket BalanceStack · StringEasyZip Two Sorted ChainsRecursion · Linked ListEasyAll Balanced Bracket StringsString · Dynamic Programming · BacktrackingMediumMerge Many Sorted ChainsLinked List · Divide and Conquer · Heap (Priority Queue)HardTrade Places in TwosRecursion · Linked ListMediumReversing a List in BlocksRecursion · Linked ListHardSqueeze Repeats Out of a Sorted ArrayArray · Two PointersEasyDrop the Unwanted ValueArray · Two PointersEasyWhere the Fragment StartsTwo Pointers · String · String MatchingEasyDivision Without DividingBit Manipulation · MathMediumWord Blocks in Any OrderHash Table · String · Sliding WindowHardNext Arrangement in OrderArray · Two PointersMediumLongest Balanced Bracket StretchStack · String · Dynamic ProgrammingHardFind in a Shifted Sorted ArrayArray · Binary SearchMediumFirst and Last CopyArray · Binary SearchMediumSlot on a Sorted ShelfArray · Binary SearchEasySudoku Board Without ClashesArray · Hash Table · MatrixMediumComplete the SudokuArray · Hash Table · BacktrackingHardRead It AloudStringMediumWeight Sets for an Exact LoadArray · BacktrackingMediumCard Hands for an Exact TotalArray · BacktrackingMediumSmallest Absent PositiveArray · Hash TableHardWater Between WallsStack · Array · Two PointersHardMultiplying Digit StringsMath · String · SimulationMediumDoes the Text Fit the PatternGreedy · Recursion · StringHardFewest Jumps to the EndGreedy · Array · Dynamic ProgrammingMediumAll OrderingsArray · BacktrackingMediumDistinct Orderings With RepeatsArray · Backtracking · SortingMediumTurn a Square ClockwiseArray · Math · MatrixMediumAnagram BucketsArray · Hash Table · StringMediumFast ExponentiationRecursion · MathMedium
1 of 57 · 2842 problems