Get item from the front of the deque.
Runtime: O(1).
Get item from the rear of the deque.
Runtime: O(1).
Insert item to the front of the deque
Runtime: O(1).
Insert item to the rear of the deque.
Runtime: O(1).
Remove item from the front of the deque.
Runtime: O(1).
Remove item from the rear of the deque.
Runtime: O(1).
Generated using TypeDoc
Get length of the deque
Runtime: O(1).
Deque