In python, which data structure is preferred over a list when there is a need for quicker append and pop operations from both the ends of the container?

1
deque
2
stack
3
queue
4
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation