educative.io

Educative

Need to correct reference of Kth smallest in solution

The solution mentions

We can use a Min Heap to find the smallest ropes following a similar approach as discussed in [Kth Smallest Number]

But Kth smallest number uses Max-heap in solution.

It has Alternate solution with Min heap. May be “Alternate solution” should be mentioned?

Cheers