Python/data_structures
Alexander Pantyukhin 3e1cb70abf
add algorithm to check binary search tree (#7947)
* add algorithm to check binary search tree

* add tests

* add leetcode link

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

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

* fix typehints

* typehints fixes

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

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

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

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

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

* fix flake8

* fix typehint

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

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

* add TreeNode resolving

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

* Update data_structures/binary_tree/is_bst.py

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

* change func name

* Update data_structures/binary_tree/is_bst.py

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

* review notes fixes.

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

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

* fix flake8

* fix flake 8

* fix doctest

* Update data_structures/binary_tree/is_bst.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-03 21:03:37 +01:00
..
arrays added algo for finding permutations of an array (#7614) 2022-10-29 15:29:15 +02:00
binary_tree add algorithm to check binary search tree (#7947) 2022-11-03 21:03:37 +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 Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +01:00
queue Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +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