Created
April 28, 2018 12:04
-
-
Save john-nash-rs/7d9af93b539140a34c1ca3f770d35275 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
for i=n/2 downto 1 | |
do max_heapify(A, i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment