what is heap how do you define min heap code example
Example: example of a min heap
10 10
/ \ / \
20 100 15 30
/ / \ / \
30 40 50 100 40