1 comment

[ 1.7 ms ] story [ 12.7 ms ] thread
Heap is a tree-based data structure that is useful in maintaining queue of items according to their priorities

I have recently written a blog post about heaps, their properties and applications:

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