Ctrl K

Coding problems

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

Recurring Gene WindowsBit Manipulation · Hash Table · StringMediumPalindrome by Adding Letters in FrontString · String Matching · Hash FunctionHardLongest Shared RunArray · Binary Search · Dynamic ProgrammingMediumLongest Repeated FragmentString · Binary Search · Suffix ArrayHardLongest Piece Seen TwiceString · Binary Search · Dynamic ProgrammingMediumMirror Chunk SplitGreedy · Two Pointers · StringHardDoubled FragmentsTrie · String · Hash FunctionHardStart That Matches the EndString · String Matching · Hash FunctionHardEvery Bit Pattern InsideBit Manipulation · Hash Table · StringMediumTwo Words One Letter ApartHash Table · String · Hash FunctionMediumCounting Distinct SubstringsTrie · String · Suffix ArrayMediumLongest Shared Route SegmentArray · Binary Search · Suffix ArrayHardFirst Window with a Given FingerprintString · Sliding Window · Hash FunctionHardEvenly Mixed Digit PiecesHash Table · String · CountingMediumSuffixes Echoing the StartString · Binary Search · String MatchingHardDistinct Segments With Few MultiplesTrie · Array · Hash TableMediumPeel Off a Repeated StartString · Dynamic Programming · String MatchingHardAnchor Near a CompanionTwo Pointers · String · Binary SearchMediumWord Near an AnchorTwo Pointers · String · Binary SearchHardWord on a ConveyorString · String Matching · Hash FunctionMediumChop and AppendString · String Matching · Hash FunctionHardSpot the Price TrendArray · String Matching · Hash FunctionMediumSpot the Price Trend in a Long HistoryArray · String Matching · Hash FunctionHardBookend Word PairsTrie · Array · StringEasyFraming Word PairsTrie · Array · StringHardTarget From Word BeginningsTrie · Segment Tree · ArrayMediumPhrase From Word Beginnings, Long EditionSegment Tree · Array · StringHard