Created
July 8, 2020 12:21
-
-
Save BMU-Verlag/2fc134659f290e08efa4642c688f4b2f 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 (int i = groesse - 1; i >= 0; i--){ | |
int tausch = arr[i]; | |
arr[i] = arr[0]; | |
arr[0] = tausch; | |
heapify(arr, i, 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment