Ctrl K

Coding problems

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

Two Boards Holding WaterGreedy · Array · Two PointersMediumDoes the Text Fit the PatternGreedy · Recursion · StringHardFewest Jumps to the EndGreedy · Array · Dynamic ProgrammingMediumReach the Last CellGreedy · Array · Dynamic ProgrammingMediumAs Many Trades as You LikeGreedy · Array · Dynamic ProgrammingMediumWhere to Start the LapGreedy · ArrayMediumStickers for Test ScoresGreedy · ArrayHardBiggest Number From PiecesGreedy · Array · StringMediumStudios for Recording SessionsGreedy · Array · Two PointersMediumLow, High, LowGreedy · Array · SortingMediumEvery Letter OnceStack · Greedy · StringMediumLargest Number From Two RowsStack · Greedy · ArrayHardStrictly Low, High, LowGreedy · Array · Divide and ConquerMediumHow Many Coins to AddGreedy · ArrayHardA Rising TrioGreedy · ArrayMediumEqual Letters Kept ApartGreedy · Hash Table · StringHardLongest Seesaw SubsequenceGreedy · Array · Dynamic ProgrammingMediumSteps Down to OneGreedy · Bit Manipulation · MemoizationMediumErase Digits for the Smallest NumberStack · Greedy · StringMediumPalindrome From Letter TilesGreedy · Hash Table · StringEasyThe Heaviest Reading DayGreedy · Array · Binary SearchHardHarden the PasswordGreedy · String · Heap (Priority Queue)HardFewest Meetings to CancelGreedy · Array · Dynamic ProgrammingMediumFewest Darts for the BalloonsGreedy · Array · SortingMediumCake Slices for GuestsGreedy · Array · Two PointersEasySmallest Up-Down SequenceStack · Greedy · ArrayMediumGrowing Capital Project by ProjectGreedy · Array · SortingHardLevelling the Shelf RowGreedy · ArrayHardDistinct Word ShorthandsGreedy · Trie · ArrayHardRing of Flippable WordsGreedy · Array · StringMediumStrength of the Weaker PartnerGreedy · Array · Counting SortEasyFix the Middle of the LineStack · Greedy · ArrayMediumPlanting Along a Garden RowGreedy · ArrayEasyStick Triples That Form a TriangleGreedy · Array · Two PointersMediumJobs With a CooldownGreedy · Array · Hash TableMediumWidest Gap Across ListsGreedy · ArrayMediumSmallest Number From Digit FactorsGreedy · MathMediumMost Orders by Their DeadlinesGreedy · Array · SortingHardNarrowest Range Touching Every ListGreedy · Array · Hash TableHardLongest Chain of SegmentsGreedy · Array · Dynamic ProgrammingMediumCouncil of Two ClansGreedy · Queue · StringMediumSorted Into Runs of ThreeGreedy · Array · Hash TableMediumOne Digit SwapGreedy · MathMediumBrackets With WildcardsStack · Greedy · StringMediumPalindrome With One Eraser StrokeGreedy · Two Pointers · StringEasyTrades With a CommissionGreedy · Array · Dynamic ProgrammingMediumLargest Number With Non-Decreasing DigitsGreedy · MathMediumTwo Marks in Every RangeGreedy · Array · SortingHardPieces Without Shared LettersGreedy · Hash Table · Two PointersMediumPartners Side by SideGreedy · Depth-First Search · Breadth-First SearchHard
1 of 8 · 398 problems