You are viewing a single comment's thread. Return to all comments →
Getting testcase 18 as wrong . Can't figure out what edge case I'm missing
EDIT: Figured it out. For me, it was the case where there is one element in the heap, and it happens to be >= K.
Thank you, helped me!
Thank you it helped