Kotlin icon indicating copy to clipboard operation
Kotlin copied to clipboard

Binary heap (min/max heap) implementation with tests

Open AntonMinko opened this issue 3 years ago • 0 comments
trafficstars

Standard binary heap implementation with the following methods:

  1. Push
  2. Pop
  3. Peek
  4. Heapify Tests demonstrate how to instantiate a minHeap and MaxHeap.

AntonMinko avatar Aug 20 '22 09:08 AntonMinko