Instead of a heap, use an ArrayList to implement a Priority Queue.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/11447782-kotlin-whiteboard/lessons/25
Instead of a heap, use an ArrayList to implement a Priority Queue.