Removes all of the elements from the priority queue.
Removes all of the elements from the priority queue.Note: No memory of the elements themselves is freed.
This function has a time complexity of O(N), with N being the number of elements in the priority queue.