Created
January 8, 2018 03:20
-
-
Save nerohoop/200a610b869c24cc71fbf8116dc761d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build_Heap(A) | |
heapsize := size(A); | |
for i := floor(heapsize/2) downto 1 | |
do Heapify(A, i); | |
end for | |
End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment