Ctrl K

Coding problems

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

Longest Repeat-Free StretchHash Table · String · Sliding WindowMediumLongest Mirror FragmentTwo Pointers · String · Dynamic ProgrammingMediumReading a Zigzag by RowsStringMediumLenient Number ReaderStringMediumPattern With Dot and StarRecursion · String · Dynamic ProgrammingHardNumber in Roman NumeralsHash Table · Math · StringMediumValue of a Roman NumeralHash Table · Math · StringEasyShared Start of WordsTrie · StringEasyKeypad WordsHash Table · String · BacktrackingMediumBracket BalanceStack · StringEasyAll Balanced Bracket StringsString · Dynamic Programming · BacktrackingMediumWhere the Fragment StartsTwo Pointers · String · String MatchingEasyWord Blocks in Any OrderHash Table · String · Sliding WindowHardLongest Balanced Bracket StretchStack · String · Dynamic ProgrammingHardRead It AloudStringMediumMultiplying Digit StringsMath · String · SimulationMediumDoes the Text Fit the PatternGreedy · Recursion · StringHardAnagram BucketsArray · Hash Table · StringMediumLength of the Final WordStringEasyIs It a Number LiteralStringHardSum of Binary StringsBit Manipulation · Math · StringEasyJustify the LinesArray · String · SimulationHardTidy a Folder RouteStack · StringMediumFewest Letter EditsString · Dynamic ProgrammingMediumShortest Covering WindowHash Table · String · Sliding WindowHardWord Traced on a Letter GridDepth-First Search · Array · StringMediumShuffle by Cutting and SwappingString · Dynamic ProgrammingHardWays to Read a Digit CodeString · Dynamic ProgrammingMediumIP Addresses From a Digit StringString · BacktrackingMediumWeaving Two StringsString · Dynamic ProgrammingMediumWays to Cross OutString · Dynamic ProgrammingHardMirror Phrase CheckTwo Pointers · StringEasyOne Letter at a TimeBreadth-First Search · Hash Table · StringHardCutting a Word Into PalindromesString · Dynamic Programming · BacktrackingMediumFewest Cuts Into PalindromesString · Dynamic ProgrammingHardSplit Into Dictionary WordsTrie · Memoization · ArrayMediumEvery Way to Space the WordsTrie · Memoization · ArrayHardWords in Reverse OrderTwo Pointers · StringMediumTwo-Letter StretchHash Table · String · Sliding WindowMediumExactly One Edit ApartTwo Pointers · StringMediumWhich Release Is NewerTwo Pointers · StringMediumFraction as a DecimalHash Table · Math · StringMediumSpreadsheet Column LabelMath · StringEasySpreadsheet Column IndexMath · StringEasyBiggest Number From PiecesGreedy · Array · StringMediumReverse the Word Order in PlaceTwo Pointers · StringMediumRecurring Gene WindowsBit Manipulation · Hash Table · StringMediumSame Letter CipherHash Table · StringEasyWords Hidden in a Letter GridTrie · Array · StringHardPalindrome by Adding Letters in FrontString · String Matching · Hash FunctionHard
1 of 15 · 729 problems