Answers for "how to store pair in min heap in c++"

C++
0

how to store pair in min heap in c++

typedef pair<int, int> pi;
priority_queue<pi, vector<pi>, greater<pi> > pq;
Posted by: Guest on December-09-2020

Browse Popular Code Answers by Language