Which of the following operations on a deque has O(n) time complexity?
insert()
push_front()
pop_back()
erase()
This question is part of this quiz :