Wouldn't that mean you have to implement the binary tree as part of your solution?
Seems way easier/time efficient to just use the built-in heap/priority queue of the language standard lib
Seems way easier/time efficient to just use the built-in heap/priority queue of the language standard lib