Ctrl K

Coding problems

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

Zero-Sum TriplesArray · Two Pointers · SortingMediumTriple Sum Nearest the TargetArray · Two Pointers · SortingMediumFour Numbers to a TargetArray · Two Pointers · SortingMediumDistinct Orderings With RepeatsArray · Backtracking · SortingMediumAnagram BucketsArray · Hash Table · StringMediumMerging Room BookingsArray · SortingMediumFlags in Three ColorsArray · Two Pointers · SortingMediumMerge Into the Spare TailArray · Two Pointers · SortingEasySorting a List by InsertionLinked List · SortingMediumSorting a Linked ListLinked List · Two Pointers · Divide and ConquerMediumWidest Gap When SortedArray · Bucket Sort · Radix SortMediumThe Candidate With Most VotesArray · Hash Table · Divide and ConquerEasyBiggest Number From PiecesGreedy · Array · StringMediumK-th Highest ScoreArray · Divide and Conquer · QuickselectMediumDoes Any Value RepeatArray · Hash Table · SortingEasyClose Readings NearbyArray · Bucket Sort · Ordered SetHardMore Than a Third of the VotesArray · Hash Table · CountingMediumSame Letters, ReshuffledHash Table · String · SortingEasyMake It to Every MeetingArray · SortingEasyStudios for Recording SessionsGreedy · Array · Two PointersMediumTriples Under a LimitArray · Two Pointers · Binary SearchMediumThe Lost TicketBit Manipulation · Array · Hash TableEasyAn Author's Impact ScoreArray · Counting Sort · SortingMediumLow, High, LowGreedy · Array · SortingMediumWhere the Friends Should MeetArray · Math · MatrixHardTree Columns, Top DownTree · Depth-First Search · Breadth-First SearchMediumStrictly Low, High, LowGreedy · Array · Divide and ConquerMediumMost Common ValuesArray · Hash Table · Divide and ConquerMediumValues in Both ListsArray · Hash Table · Two PointersEasyShared Values With RepeatsArray · Hash Table · Two PointersEasyBoxes Inside BoxesArray · Binary Search · Dynamic ProgrammingHardEqual Letters Kept ApartGreedy · Hash Table · StringHardSorted Parabola ValuesArray · Math · Two PointersMediumChain of MultiplesArray · Math · Dynamic ProgrammingMediumK-th Smallest in a Sorted GridArray · Binary Search · MatrixMediumThe Sneaked-In LetterBit Manipulation · Hash Table · StringEasyRebuild the Line from Height RecordsBinary Indexed Tree · Segment Tree · ArrayMediumThird Largest Distinct ValueArray · SortingEasyFewest Meetings to CancelGreedy · Array · Dynamic ProgrammingMediumNearest Following SlotArray · Binary Search · SortingMediumCharacters Grouped by CountHash Table · String · Bucket SortMediumFewest Darts for the BalloonsGreedy · Array · SortingMediumCake Slices for GuestsGreedy · Array · Two PointersEasyMeet at One ValueArray · Math · SortingMediumWarm Every CabinArray · Two Pointers · Binary SearchMediumGrowing Capital Project by ProjectGreedy · Array · SortingHardMedals and PlacesArray · Sorting · Heap (Priority Queue)EasyA Subsequence of One Word OnlyArray · Hash Table · Two PointersMediumLongest Word by Crossing OutArray · Two Pointers · StringMediumDistinct Word ShorthandsGreedy · Trie · ArrayHard
1 of 9 · 432 problems