Ctrl K

Coding problems

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

Longest Mirror FragmentTwo Pointers · String · Dynamic ProgrammingMediumTwo Boards Holding WaterGreedy · Array · Two PointersMediumZero-Sum TriplesArray · Two Pointers · SortingMediumTriple Sum Nearest the TargetArray · Two Pointers · SortingMediumFour Numbers to a TargetArray · Two Pointers · SortingMediumDrop the K-th Node From the TailLinked List · Two PointersMediumSqueeze Repeats Out of a Sorted ArrayArray · Two PointersEasyDrop the Unwanted ValueArray · Two PointersEasyWhere the Fragment StartsTwo Pointers · String · String MatchingEasyNext Arrangement in OrderArray · Two PointersMediumWater Between WallsStack · Array · Two PointersHardMove the Tail to the FrontLinked List · Two PointersMediumFlags in Three ColorsArray · Two Pointers · SortingMediumAt Most Two CopiesArray · Two PointersMediumSorted List, Unique Values OnlyLinked List · Two PointersMediumSplit a List Around a PivotLinked List · Two PointersMediumMerge Into the Spare TailArray · Two Pointers · SortingEasyMirror Phrase CheckTwo Pointers · StringEasyList Folded From Both EndsStack · Recursion · Linked ListMediumSorting a Linked ListLinked List · Two Pointers · Divide and ConquerMediumWords in Reverse OrderTwo Pointers · StringMediumExactly One Edit ApartTwo Pointers · StringMediumWhich Release Is NewerTwo Pointers · StringMediumPair in a Sorted ListArray · Two Pointers · Binary SearchMediumReverse the Word Order in PlaceTwo Pointers · StringMediumRoll an Array to the RightArray · Math · Two PointersMediumDigit Squares Down to OneHash Table · Math · Two PointersEasySymmetric Bead StringStack · Recursion · Linked ListEasySame When FlippedHash Table · Two Pointers · StringEasyStudios for Recording SessionsGreedy · Array · Two PointersMediumTriples Under a LimitArray · Two Pointers · Binary SearchMediumK Keys Nearest to a TargetStack · Tree · Depth-First SearchHardZeros to the BackArray · Two PointersEasySpot the Extra CopyBit Manipulation · Array · Two PointersMediumLargest Number From Two RowsStack · Greedy · ArrayHardFlip the Characters in PlaceTwo Pointers · StringEasyMirror the VowelsTwo Pointers · StringEasyValues in Both ListsArray · Hash Table · Two PointersEasyShared Values With RepeatsArray · Hash Table · Two PointersEasySorted Parabola ValuesArray · Math · Two PointersMediumHidden in OrderTwo Pointers · String · Dynamic ProgrammingEasyWord With Counted GapsTwo Pointers · StringEasyPacking Runs in PlaceTwo Pointers · StringMediumCake Slices for GuestsGreedy · Array · Two PointersEasyOne-Way Jump CycleArray · Hash Table · Two PointersMediumWarm Every CabinArray · Two Pointers · Binary SearchMediumA Sequence That Describes ItselfTwo Pointers · StringMediumA Subsequence of One Word OnlyArray · Hash Table · Two PointersMediumLongest Word by Crossing OutArray · Two Pointers · StringMediumPairs With a Fixed GapArray · Hash Table · Two PointersMedium
1 of 4 · 200 problems