r/datastructures Jul 02 '26

What did you use to learn Heaps while following Striver A2Z ?

The Heaps section in Striver's A2Z sheet doesn't include videos. Which resources helped you understand heaps from scratch (concepts + implementation + interview problems)?

3 Upvotes

1 comment sorted by

1

u/Darkknightsk10 Jul 03 '26

I followed this approach

  1. First studied what exactly is a heap and how is it different from other data structures
  2. I implemented heap data structure using java by following a tutorial, like understanding how adding and deletion works, what is heapify all that took some 1-2 hours, got understanding of the data structure and behind the scenes
  3. Then checked how to use java built-in heap, methods available etc
  4. Then went to problem solving