DEV Community

kenneth-kip
kenneth-kip

Posted on

Heap functions in ruby

Is there a heap queue implementation module in ruby that provides methods like heapify_min or heapify_pop? Something like this https://docs.python.org/2/library/heapq.html but ruby equivalent.

Top comments (0)