What is the use of the clear() function with a deque?
It removes all elements from the deque. Zero parts will be left in the deque after this function call.