BuildHeapFloyd’s Method. Thank you, Floyd.
5
11
3
10
6
9
4
8
1
7
2
12
pretend it’s a heap and fix the heap-order property!
2
7
1
8
4
9
6
10
3
11
5
12
Previous slide
Next slide
Back to first slide
View graphic version