Usage: Enter an integer key and click the Add button to add an integer into the heap. Click the Remove the root button to remove the root from the heap.

The figure illustrates an interactive showing the insertion and removal of a root from a tree.