how does min heap work code example
Example: example of a min heap
10 10
/ \ / \
20 100 15 30
/ / \ / \
30 40 50 100 40