Python/data_structures
Caeden Perelli-Harris daa1c7529a
Raise error not string (#7945)
* ci: Add `B023` to `.flake8` ignores

* refactor: Return `bool`/raise Exception

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

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

* revert: Remove previous branch commit

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* feat: Apply `__repr__` changes

* chore: Fix failing tests

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

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

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* test: Fix doctests

* random.choice(population_score[:N_SELECTED])[0]

* Update basic_string.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-06 15:54:44 +01:00
..
arrays add prefix sum (#7959) 2022-11-04 20:30:32 +13:00
binary_tree Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
disjoint_set Add type annotations (#4814) 2021-10-12 00:34:30 +08:00
hashing Description of Double hasing (#6467) 2022-10-30 11:25:51 +01:00
heap Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +01:00
linked_list Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
queue Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
stacks refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
trie Added Radix Tree in data structures (#6616) 2022-10-31 14:14:33 +01:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00