heapless
heapless copied to clipboard
BinaryHeap pop mixing elements of same order
Hi,
When pushing multiple items into a BinaryHeap that have equal ordering, they come back out in a random order.
Is there a way to make them come out in the same order as they where put in?
Thanks,