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 TableEasyLongest Repeat-Free StretchHash Table · String · Sliding WindowMediumNumber in Roman NumeralsHash Table · Math · StringMediumValue of a Roman NumeralHash Table · Math · StringEasyKeypad WordsHash Table · String · BacktrackingMediumWord Blocks in Any OrderHash Table · String · Sliding WindowHardSudoku Board Without ClashesArray · Hash Table · MatrixMediumComplete the SudokuArray · Hash Table · BacktrackingHardSmallest Absent PositiveArray · Hash TableHardAnagram BucketsArray · Hash Table · StringMediumZero Out the CrossesArray · Hash Table · MatrixMediumShortest Covering WindowHash Table · String · Sliding WindowHardTree From Pre-Order and In-Order WalksTree · Array · Hash TableMediumTree From In-Order and Post-Order WalksTree · Array · Hash TableMediumOne Letter at a TimeBreadth-First Search · Hash Table · StringHardLongest Unbroken RunUnion Find · Array · Hash TableMediumSplit Into Dictionary WordsTrie · Memoization · ArrayMediumEvery Way to Space the WordsTrie · Memoization · ArrayHardStars on One Straight LineGeometry · Array · Hash TableHardTwo-Letter StretchHash Table · String · Sliding WindowMediumFraction as a DecimalHash Table · Math · StringMediumThe Candidate With Most VotesArray · Hash Table · Divide and ConquerEasyRecurring Gene WindowsBit Manipulation · Hash Table · StringMediumDigit Squares Down to OneHash Table · Math · Two PointersEasySame Letter CipherHash Table · StringEasyDoes Any Value RepeatArray · Hash Table · SortingEasyRepeat Within ReachArray · Hash Table · Sliding WindowEasyMore Than a Third of the VotesArray · Hash Table · CountingMediumSame Letters, ReshuffledHash Table · String · SortingEasySame When FlippedHash Table · Two Pointers · StringEasyWords Equal Up to a ShiftArray · Hash Table · StringMediumNumbers Made of Twos, Threes and FivesHash Table · Math · Dynamic ProgrammingMediumShuffle Into a PalindromeBit Manipulation · Hash Table · StringEasyPalindromes From a Set of LettersHash Table · String · BacktrackingMediumThe Lost TicketBit Manipulation · Array · Hash TableEasyWords Following a Letter PatternHash Table · StringEasyDoes the String Fit the Letter TemplateHash Table · String · BacktrackingMediumA Hint for a Digit GuessHash Table · String · CountingMediumIslands After Each LandfillUnion Find · Array · Hash TableHardMultiply Mostly-Zero MatricesArray · Hash Table · MatrixMediumTree Columns, Top DownTree · Depth-First Search · Breadth-First SearchMediumLongest Run with a Given SumArray · Hash Table · Prefix SumMediumGlued Into a PalindromeTrie · Array · Hash TableHardWindow with Few Kinds of LettersHash Table · String · Sliding WindowMediumMost Common ValuesArray · Hash Table · Divide and ConquerMediumValues in Both ListsArray · Hash Table · Two PointersEasyShared Values With RepeatsArray · Hash Table · Two PointersEasyVertical Mirror LineArray · Hash Table · MathMediumEqual Letters Kept ApartGreedy · Hash Table · StringHardNote From Clipped LettersHash Table · String · CountingEasy
1 of 12 · 585 problems