Figure 6.4 shows an example of the operation of heapsort after the max-heap is initially built | на рис. 6.4 показан пример пирамидальной сортировки после предварительного построения невозрастающей пирамиды (см. Introduction to Algorithms Second Edition by Thomas H. Cormen et al. 2001) |