What is the complexity of the size() member function of the queue STL in C++?
O(1)
O(n)
O(log n)
O(n log n)
This question is part of this quiz :