From a0b0090f8ae38d41b8616024f0f1bfcc833fbde3 Mon Sep 17 00:00:00 2001 From: marina <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:16:41 -0700 Subject: [PATCH] Update and rename find_max_depth_tree.py to bt_find_max_depth.py --- trees/{find_max_depth_tree.py => bt_find_max_depth.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename trees/{find_max_depth_tree.py => bt_find_max_depth.py} (80%) diff --git a/trees/find_max_depth_tree.py b/trees/bt_find_max_depth.py similarity index 80% rename from trees/find_max_depth_tree.py rename to trees/bt_find_max_depth.py index ba4b188..abf579f 100644 --- a/trees/find_max_depth_tree.py +++ b/trees/bt_find_max_depth.py @@ -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