Max heap

I have to write code for a max heap, i have 10 names to b sorted by heap sort algorithm. . Such as {"suhail","jhon", "akram", . . . Etc}
i dont know how to sort a set of names using max heap. . ?
closed account (zwA4jE8b)
A heap sort just involves adding the root node to the sorted list, deleting root, and repeating.
This is assuming your heap works properly
Topic archived. No new replies allowed.