Double-ended queue

append(1), appendleft(2), append(3), pop() → [2, 1]

You can also choose a level by clicking a star.

About the course

Description
A deque in Python – adding and removing at both ends
More information
A data structure determines how data is stored and how fast you can work with it.
Sample question
append(1), appendleft(2), append(3), pop() → [2, 1]
Author
Jiří Preisler
Version
1.0