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>
A
Alexander Pantyukhin committed
3e1cb70abf9997af3a4903f77cb3506a301de893
Parent: 978414b
Committed by GitHub <noreply@github.com>
on 11/3/2022, 8:03:37 PM