Python/data_structures
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
..
arrays Enable ruff UP031 rule (#11388) 2024-04-30 06:40:26 +02:00
binary_tree Improve comments, add doctests in symmetric_tree.py (#11619) 2024-10-01 19:54:12 -07:00
disjoint_set [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
hashing Fix some ARG002 per file ignores (#11382) 2024-05-01 21:27:59 +02:00
heap Upgrade to Python 3.13 (#11588) 2024-09-30 23:01:15 +02:00
kd_tree Implemented Suffix Tree Data Structure (#11554) 2024-09-28 15:37:00 +02:00
linked_list Optimized O(n) to O(1) (#11669) 2024-10-02 11:07:07 -07:00
queue Added documentations (#11352) 2024-04-08 13:35:22 +02:00
stacks Added new algorithm to generate numbers in lexicographical order (#11674) 2024-10-05 10:19:58 -07:00
suffix_tree Implemented Suffix Tree Data Structure (#11554) 2024-09-28 15:37:00 +02:00
trie Enable ruff PLR5501 rule (#11332) 2024-03-28 18:25:41 +01:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00