LeetCode The Hard Way

Meta

1396 problems

ProblemDifficultyFrequency Topics
2250. Count Number of Rectangles Containing Each PointMedium5%
ArrayHash TableBinary SearchBinary Indexed TreeSorting
1360. Number of Days Between Two DatesEasy5%
MathString
3318. Find X-Sum of All K-Long Subarrays IEasy5%
ArrayHash TableSliding WindowHeap (Priority Queue)
2296. Design a Text EditorHard5%
Linked ListStringStackDesignSimulationDoubly-Linked List
2028. Find Missing ObservationsMedium5%
ArrayMathSimulation
3542. Minimum Operations to Convert All Elements to ZeroMedium5%
ArrayHash TableStackGreedyMonotonic Stack
2536. Increment Submatrices by OneMedium5%
ArrayMatrixPrefix Sum
1437. Check If All 1's Are at Least Length K Places AwayEasy5%
Array
1337. The K Weakest Rows in a MatrixEasy5%
ArrayBinary SearchSortingHeap (Priority Queue)Matrix
2154. Keep Multiplying Found Values by TwoEasy5%
ArrayHash TableSortingSimulation
3Sum SmallerMedium5%
ArrayTwo PointersBinary SearchSorting
757. Set Intersection Size At Least TwoHard5%
ArrayGreedySorting
Maximum Binary TreeMedium5%
ArrayDivide and ConquerStackTreeMonotonic StackBinary TreeCartesian Tree
Shortest Distance in a PlaneMedium5%
DatabaseNearest Pair of Points
1015. Smallest Integer Divisible by KMedium5%
Hash TableMathPigeonhole Principle
Capital Gain/LossMedium5%
Database
2760. Longest Even Odd Subarray With ThresholdEasy5%
ArraySliding Window
3623. Count Number of Trapezoids IMedium5%
ArrayHash TableMathGeometry
3495. Minimum Operations to Make Array Elements ZeroHard5%
ArrayMathBit Manipulation
3577. Count the Number of Computer Unlocking PermutationsMedium5%
ArrayMathBrainteaserCombinatorics
1696. Jump Game VIMedium5%
ArrayDynamic ProgrammingQueueHeap (Priority Queue)Monotonic Queue
2054. Two Best Non-Overlapping EventsMedium5%
ArrayBinary SearchDynamic ProgrammingSortingHeap (Priority Queue)
3732. Maximum Product of Three Elements After One ReplacementMedium5%
ArrayMathGreedySorting
3690. Split and Merge Array TransformationMedium5%
ArrayHash TableBreadth-First Search
Rearrange Products TableEasy5%
Database
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee