2 ms·
Why?
by nivethan 6y ago
Why?
- comfydragon 6y agoProbably just an efficiency argument, since deque is designed to be efficient when used as a stack/queue. https://docs.python.org/3.8/library/collections.html#collections.deque https://docs.python.org/3.8/library/collections.html#collect...