LeetCode The Hard Way

Amazon

2015 problems

ProblemDifficultyFrequency Topics
1351. Count Negative Numbers in a Sorted MatrixEasy29.1%
ArrayBinary SearchMatrix
1496. Path CrossingEasy29.1%
Hash TableString
1502. Can Make Arithmetic Progression From SequenceEasy29.1%
ArraySorting
1584. Min Cost to Connect All PointsMedium29.1%
ArrayUnion-FindGraph TheoryMinimum Spanning TreePrim's AlgorithmKruskal's AlgorithmBorůvka's Algorithm
1658. Minimum Operations to Reduce X to ZeroMedium29.1%
ArrayHash TableBinary SearchSliding WindowPrefix Sum
1792. Maximum Average Pass RatioMedium29.1%
ArrayGreedyHeap (Priority Queue)
2250. Count Number of Rectangles Containing Each PointMedium29.1%
ArrayHash TableBinary SearchBinary Indexed TreeSorting
2347. Best Poker HandEasy29.1%
ArrayHash TableCounting
2342. Max Sum of a Pair With Equal Sum of DigitsMedium29.1%
ArrayHash TableSortingHeap (Priority Queue)
2402. Meeting Rooms IIIHard29.1%
ArrayHash TableSortingHeap (Priority Queue)Simulation
Maximum Number of Books You Can TakeHard29.1%
ArrayDynamic ProgrammingStackMonotonic Stack
2643. Row With Maximum OnesEasy29.1%
ArrayMatrix
2916. Subarrays Distinct Element Sum of Squares IIHard29.1%
ArrayHash TableBinary Indexed TreeSegment Tree
3462. Maximum Sum With at Most K ElementsMedium29.1%
ArrayGreedySortingHeap (Priority Queue)Matrix
2170. Minimum Operations to Make the Array AlternatingMedium29.1%
ArrayHash TableGreedyCounting
3785. Minimum Swaps to Avoid Forbidden ValuesHard29.1%
ArrayHash TableGreedyCounting
3867. Sum of GCD of Formed PairsMedium29.1%
ArrayMathTwo PointersSortingSimulationNumber Theory
112. Path SumEasy27.9%
TreeDepth-First SearchBreadth-First SearchBinary Tree
Pascal's Triangle IIEasy27.9%
ArrayDynamic Programming
144. Binary Tree Preorder TraversalEasy27.9%
StackTreeDepth-First SearchBinary Tree
Binary Search Tree IteratorMedium27.9%
StackTreeDesignBinary Search TreeBinary TreeIterator
Department Highest SalaryMedium27.9%
Database
Bulb SwitcherMedium27.9%
MathBrainteaser
Power of ThreeEasy27.9%
MathRecursion
Logger Rate LimiterEasy27.9%
Hash TableDesignData Stream
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee