Diff between declaration of priority queue
priority-queue-largest-k-elements-using-stl
pankajsingh
(pankaj Singh)
March 31, 2020, 2:56pm
#1
here sir
priority_queuepq;
priority_queue<int,vector >pq;
priority_queue<int,vector ,greater>pq;
please explain diffrence between these three also sir is there any further modifications we can do here for using priority queue