I am confused about how we pass comparators in containers as we did in this lecture?. Can you please elaborate me the working behind passing a vector (as sanket bhaiya did) and comparator in the priority queue?
I am confused about how we pass comparators in containers as we did in this lecture?. Can you please elaborate me the working behind passing a vector (as sanket bhaiya did) and comparator in the priority queue?