why we are adding vector in min priority_queue
Why we are adding vector<int> in min priority_queue
hello @harshit261998
that is the container.
by vector< int> we are telling priority queue that it should use vector to store elements of priority queue.
here is the detail of all three arguments->
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.