Last active
March 5, 2018 22:38
-
-
Save kalub92/f8e71332fa4bd061ee69188693845717 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
var myHeap = MinHeap() | |
myHeap.add(2) | |
myHeap.add(10) | |
myHeap.add(8) | |
myHeap.add(9) | |
myHeap.add(7) | |
myHeap.add(3) | |
myHeap.add(4) | |
dump(myHeap.items) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment