asked 515 views
4 votes
What function will delete an element from the end of a deque. On Edge

1 Answer

4 votes

Answer: Use pop() to remove an item from the “right” end of the deque and pop left() to take an item from the “left” end.

Step-by-step explanation:

answered
User Naveed S
by
8.4k points