Illustrate the removal of the next two values (4 and 8)
in the MeldableHeap h1 shown in Figure 10.4. Use a coin to simulate a
random bit when needed.
rigure 1U.4: Merging n1 and n2 is done by merging n2 with one of n1.left or h1. right..
Illustrate the removal of the next two values (4 and 8) in the Me.pdf
1. Illustrate the removal of the next two values (4 and 8)
in the MeldableHeap h1 shown in Figure 10.4. Use a coin to simulate a
random bit when needed.
rigure 1U.4: Merging n1 and n2 is done by merging n2 with one of n1.left or h1. right.