TheAlgorithms / Ruby

All algorithms implemented in Ruby
MIT License
1.15k stars 289 forks source link

Adding max-heap implementation + unit tests #195

Closed aparibocci closed 1 year ago

aparibocci commented 1 year ago

This PR aims to add a Ruby implementation of a max-heap backed by an array.

Unit tests are included.

StepfenShawn commented 1 year ago

Thanks!