I was just wondering...How do you find an element in a priority queue if you only know its value with a time complexity of O(1)? Not wanting to bother anyone... plz inform me if it's currently not possible.
@seeplus
It's just a problem on our online judge which I wanted to solve, but got loony with the desperation. And I've solved it now, so it doesn't matter.