Created
July 2, 2022 06:19
-
-
Save sausheong/6cd2be2edf31656ce9bca66689698141 to your computer and use it in GitHub Desktop.
fuzz
This file contains hidden or 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
func (h *Heap) rearrange(i int) { | |
... | |
if left < size && h.elements[left-1] > h.elements[largest] { | |
largest = left | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment