//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
New screencast on stack-like and queue-like operations in Python. Lists are great for one of these and not so great for the other.
9h
pym.dev
Use a Python list for stack operations (last-in, first-out) and a deque from the collections module for queue operations (first-in, first-out).
Stacks and queues in Python
Trey Hunner