priority queue uses code example Example: priority_queue std::priority_queue<int, std::vector<int>, std::greater<int>>