default heap in priority queue code example
Example: min heap priority queue c++
#include<queue>
std::priority_queue <int, std::vector<int>, std::greater<int> > minHeap;
#include<queue>
std::priority_queue <int, std::vector<int>, std::greater<int> > minHeap;