Describe the output for the following sequence of deque operations: insertFront(3),…
Describe the output for the following sequence of deque operations:
insertFront(3), insertBack(8), insertBack(9), insertFront(5), removeFront(), eraseBack(), ?rst(), insertBack(7), removeFront(), last(), eraseBack().
