DEV Community

loading...
Cover image for Learn Heaps via Visualizations

Learn Heaps via Visualizations

Roman Glushko
Machine Learning, Software Engineering and Life
・1 min read

Heaps (or priority queues) are tree-based data structure that makes it fast to track order of retrieving priority items 🛠

Alt Text

I have reviewed how heaps work in depth in the following blog post ⬇️

https://www.romaglushko.com/blog/heapify/

The article contains a lot of visualizations and could be a good way to understand how heaps work, especially for beginners. Also, heap is a popular topic on coding interviews.

Hope it'll be helpful 🙌

Discussion (0)