Python/data_structures/stacks
1227haran 5a8655d306
Added new algorithm to generate numbers in lexicographical order (#11674)
* Added algorithm to generate numbers in lexicographical order

* Removed the test cases

* Updated camelcase to snakecase

* Added doctest

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added descriptive name for n

* Reduced the number of letters

* Updated the return type

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Updated import statement

* Updated return type to Iterator[int]

* removed parentheses

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-05 10:19:58 -07:00
..
__init__.py Update infix to postfix (#3817) 2020-11-02 00:35:31 +08:00
balanced_parentheses.py Enable ruff SIM102 rule (#11341) 2024-04-02 03:27:56 +02:00
dijkstras_two_stack_algorithm.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
infix_to_postfix_conversion.py fixes #8673; Add operator's associativity check for stacks/infix_to_p… (#8674) 2023-08-01 11:23:34 -07:00
infix_to_prefix_conversion.py Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
lexicographical_numbers.py Added new algorithm to generate numbers in lexicographical order (#11674) 2024-10-05 10:19:58 -07:00
next_greater_element.py Improve comments, docstrings in next_greatest_element.py (#11685) 2024-10-02 17:18:01 -07:00
postfix_evaluation.py Updated postfix_evaluation.py to support Unary operators (#8787) 2023-08-23 14:36:59 +02:00
prefix_evaluation.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
stack_using_two_queues.py added implementing stack using two queues (#10076) 2023-10-15 18:41:29 +02:00
stack_with_doubly_linked_list.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
stack_with_singly_linked_list.py [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
stack.py Added doctest to stack.py (#11149) 2023-11-11 21:16:43 -05:00
stock_span_problem.py [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00