Python/data_structures
Gourav Raj 481aff7928
Add Mirror a Binary Tree solution (#9534)
* Add `Invert a Binary Tree` solution

* Add type

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

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

* Add `doctest`

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

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

* Add `test` to `get_tree_inorder`

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

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

* Add `test` changes

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

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

* Fix lint errors

* Fix precommit errors

* Update and rename invert_binary_tree.py to mirror_binary_tree.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>
2023-10-24 09:54:38 +02:00
..
arrays Add arrays/sudoku_solver.py (#10623) 2023-10-17 19:07:40 +02:00
binary_tree Add Mirror a Binary Tree solution (#9534) 2023-10-24 09:54:38 +02:00
disjoint_set Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
hashing Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
heap Solving the Top k most frequent words problem using a max-heap (#8685) 2023-04-27 23:02:07 +05:30
linked_list Add Floyd's Cycle Detection Algorithm (#10833) 2023-10-23 13:56:43 -04:00
queue [bug fixing] Edge case of the double ended queue (#9823) 2023-10-05 10:00:48 -04:00
stacks added implementing stack using two queues (#10076) 2023-10-15 18:41:29 +02:00
trie Fix radix_tree.py insertion fail in ["*X", "*XX"] cases (#8870) 2023-07-24 11:29:05 +02:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00