• Sorting algorithm 05 ——– heap sorting (Graphic)


    1. Heap sort   Heap sort is a sort algorithm designed with heap data structure. It is similar to a binary tree and has a characteristic that the value of parent node is greater than (less than) the value of child node. There are two kinds of heaps. The one whose parent node is larger than […]