Queue implementation using two Stacks (#8617)
* Queue implementation using two Stacks * fix typo in queue/queue_on_two_stacks.py * add 'iterable' to queue_on_two_stacks initializer * make queue_on_two_stacks.py generic class * fix ruff-UP007 in queue_on_two_stacks.py * enhance readability in queue_on_two_stacks.py * Create queue_by_two_stacks.py --------- Co-authored-by: Christian Clauss <cclauss@me.com>
A
amirsoroush committed
5cb0a000c47398c6d8af1ac43e2f83ae018f7182
Parent: 179298e
Committed by GitHub <noreply@github.com>
on 4/8/2023, 11:41:08 AM