Given the following operations on a deque:
push_back(5), push_back(4), push_front(3), push_front(2), pop_back(), push_back(l), pop_front(), pop_front()
a. How many elements are in the deque?
b. What is the value at the front of the deque?
c. What is the value at the back of the deque?
d. Write the current contents of the deque, indicating front and back.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.