Ultimate DSA Interview Prep: 9/12 Heaps
14 min readSep 19, 2024
A curated list of LeetCode problems covering key concepts and techniques to help you prepare for your next DSA interview.
- Arrays & Strings
- Hashmaps & Sets
- 2 Pointers
- Stacks
- Linked List
- Binary Search
- Sliding Window
- Trees
- Heaps
- Recursive Backtracking
- Graphs
- Dynamic Programming
Heaps
Easy:
Medium:
2. https://leetcode.com/problems/kth-largest-element-in-an-array/description/
3. https://leetcode.com/problems/top-k-frequent-elements/
4. https://leetcode.com/problems/k-closest-points-to-origin/
Hard:
5. https://leetcode.com/problems/merge-k-sorted-lists/description/
1. Last Stone Weight (Easy)
Problem Breakdown:
We are given an array of stones where each element represents the weight of a stone. The…