Ultimate DSA Interview Prep: 9/12 Heaps

Sai Parvathaneni
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.

  1. Arrays & Strings
  2. Hashmaps & Sets
  3. 2 Pointers
  4. Stacks
  5. Linked List
  6. Binary Search
  7. Sliding Window
  8. Trees
  9. Heaps
  10. Recursive Backtracking
  11. Graphs
  12. Dynamic Programming

Heaps

Easy:

  1. https://leetcode.com/problems/last-stone-weight/description/

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…

--

--

Sai Parvathaneni
Sai Parvathaneni

Written by Sai Parvathaneni

Data Engineer on a mission to dumb down complex data engineering concepts. https://www.datascienceportfol.io/saiparvathaneni

No responses yet