why we are giving vector in priority_queue(Car, vector,comparator) as an extra argument unnecessary ? do we really need vector as an argument. if yes may i know the reason why we are using.
why we are giving vector in priority_queue(Car, vector,comparator) as an extra argument unnecessary ? do we really need vector as an argument. if yes may i know the reason why we are using.