Python/data_structures/queue
amirsoroush 5cb0a000c4
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>
2023-04-08 13:41:08 +02:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
circular_queue_linked_list.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
circular_queue.py Fix imports for all namespace packages (#2506) 2020-09-28 23:41:04 +02:00
double_ended_queue.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
linked_queue.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
priority_queue_using_list.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
queue_by_two_stacks.py Queue implementation using two Stacks (#8617) 2023-04-08 13:41:08 +02:00
queue_on_list.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
queue_on_pseudo_stack.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
queue_on_two_stacks.py Queue implementation using two Stacks (#8617) 2023-04-08 13:41:08 +02:00