A priority queue is like a standard queue, except that each inserted elements
is given a certain priority, based on the result of the comparison block given
at instantiation time. Retrieving an element from the queue will always return
the one with the highest priority.

Required Ruby Version:
None

Licenses:

N/A

Gemfile:

=Copy to clipboardCopied!

install:

=Copy to clipboardCopied!

Links:

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and install them. Use the API to interact and find out more information about available gems. Become a contributor and enhance the site with your own changes.