mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update find_max_depth_tree.py
This commit is contained in:
parent
6ed9a5376b
commit
f6477288e1
@ -1,3 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
def max_depth(root: Optional[TreeNode]) -> int:
|
||||
|
||||
if root is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user