Hi All,
I am trying to implement priority queue in my program.
I know, we can access any element from a priority queue like a vector.But can we actually delete any element from a priority queue rather than the top element(using pop)? We can delete any element from a vector using erase(). Do we have similar functionality for priority queue as well. Thanks.
Sagar