BINARY HEAPS

This is a demo of Binary heaps.

1. Min-heap
2. Max-heap

Visualisation by Cytoscape.js

Binary Heaps

Source Array:

Insertion:

Deletion:

EXAMPLES

  1. Enter source array
  2. Select binary heap's type: Min-heap/Max-heap
  3. Build the binary heap

And you can also extract the Min/Max from the specific binary heap.