Python/data_structures/binary_tree
Christian Clauss 69457357e8
binary_tree_traversals.py: Simplify with dataclasses (#4336)
* binary_tree_traversals.py: Simplify with dataclasses

* Update data_structures/binary_tree/binary_tree_traversals.py

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>

* Optional["Node"]

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2021-04-26 10:15:26 +05:30
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
avl_tree.py add type hints for avl_tree (#4214) 2021-02-22 00:58:17 +01:00
basic_binary_tree.py fix number_of_digits bug (#2301) 2020-08-12 18:32:35 +02:00
binary_search_tree_recursive.py [mypy] Add/fix type annotations for binary trees in data structures (#4085) 2021-02-05 00:59:38 +08:00
binary_search_tree.py Added function for finding K-th smallest element in BST (#2318) 2020-08-21 12:25:50 +05:30
binary_tree_mirror.py Added binary tree mirror algorithm (#3159) 2020-10-14 12:21:15 +02:00
binary_tree_traversals.py binary_tree_traversals.py: Simplify with dataclasses (#4336) 2021-04-26 10:15:26 +05:30
fenwick_tree.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
lazy_segment_tree.py [mypy] Add/fix type annotations for binary trees in data structures (#4085) 2021-02-05 00:59:38 +08:00
lowest_common_ancestor.py from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
merge_two_binary_trees.py Added code to merge two trees (#4121) 2021-01-18 13:08:22 +05:30
non_recursive_segment_tree.py Change occurrences of str.format to f-strings (#4118) 2021-02-23 11:23:49 +05:30
number_of_possible_binary_trees.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
red_black_tree.py Change occurrences of str.format to f-strings (#4118) 2021-02-23 11:23:49 +05:30
segment_tree_other.py Pyupgrade to python3.8 (#3616) 2020-10-21 12:46:14 +02:00
segment_tree.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
treap.py [mypy] Add/fix type annotations for binary trees in data structures (#4085) 2021-02-05 00:59:38 +08:00