How do I get the k-th minimum element of a Priority Queue in Scala?
I tried the following but it seems to be wrong!