17 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
58637718ff [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-24 10:43:44 +00:00
Diwas Dahal
e33d860c0a
Update basic_binary_tree.py 2023-07-24 16:28:10 +05:45
pre-commit-ci[bot]
14682d100d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-24 10:34:11 +00:00
Diwas Dahal
04e91d58d9
Update basic_binary_tree.py 2023-07-24 16:18:21 +05:45
Diwas Dahal
8ce8fcfc12
Update basic_binary_tree.py 2023-07-24 16:12:03 +05:45
Diwas Dahal
8341098d5b
Update data_structures/binary_tree/basic_binary_tree.py
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-07-24 16:04:58 +05:45
Diwas Dahal
0f29543d3c
Update data_structures/binary_tree/basic_binary_tree.py
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-07-24 16:04:36 +05:45
pre-commit-ci[bot]
0b20f110a1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-23 11:52:54 +00:00
di-was
6322c04814 Update display function to display_tree for visual tree representation. 2023-07-23 17:25:41 +05:45
Christian Clauss
cecf43d648
Pyupgrade to Python 3.9 (#4718)
* Pyupgrade to Python 3.9

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-07 13:37:03 +02:00
Du Yuanchao
d687030d9e
fix number_of_digits bug (#2301)
* fix bug

* test larger negative

* fixup! Format Python code with psf/black push

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-12 18:32:35 +02:00
kanthuc
d25a926c02
adding static type checking to basic_binary_tree.py (#2293)
* adding static type checking to basic_binary_tree.py

* Add static type checking to functions with None return type

* Applying code review comments

* Added missing import statement

* fix spaciing

* "cleaned up depth_of_tree"

* Add doctests and then streamline display() and is_full_binary_tree()

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-08-11 23:38:38 +02:00
Christian Clauss
1f8a21d727
Tighten up psf/black and flake8 (#2024)
* Tighten up psf/black and flake8

* Fix some tests

* Fix some E741

* Fix some E741

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-05-22 08:10:11 +02:00
Prince Gangurde
6043a44ffb
Update basic_binary_tree.py (#1833)
fixed some grammar mistakes
2020-04-07 00:59:32 +02:00
Christian Clauss
5df8aec66c
GitHub Action formats our code with psf/black (#1569)
* GitHub Action formats our code with psf/black

@poyea Your review please.

* fixup! Format Python code with psf/black push
2019-11-14 19:59:43 +01:00
William Zhang
9eac17a408 psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
Anup Kumar Panwar
4e413c0183 Updated README 2019-07-06 11:11:20 +05:30