Question: Which STL class is the best fit for implementing a collection of data that is always ordered so that the pop operation always gets the greatest of the elements? Suppose you are interested only in push and pop operations.

  1. `std::list`
  2. `std::vector`
  3. `std::priority_queue`
  4. `std::map`

Answer: The correct answer of the above question is Option C:`std::priority_queue`