What is the time complexity of push_front() operation in a C++ deque?
O(1)
O(n log n)
O(n)
O(log n)
This question is part of this quiz :