mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-02 06:46:18 -04:00
Update and rename find_max_depth_tree.py to bt_find_max_depth.py
This commit is contained in:
parent
e0d9624032
commit
a0b0090f8a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
def max_depth(root: Optional[TreeNode]) -> int:
|
||||
def max_depth(root: Optional[Node]) -> int:
|
||||
|
||||
if root is None:
|
||||
return 0
|
Loading…
Add table
Add a link
Reference in a new issue