From 91cd6134b652de2bef3e59702685394a3afa4f3d Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:42:15 -0700 Subject: [PATCH] Update bt_find_max_depth.py --- trees/bt_find_max_depth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trees/bt_find_max_depth.py b/trees/bt_find_max_depth.py index 8497a72..dbe2109 100644 --- a/trees/bt_find_max_depth.py +++ b/trees/bt_find_max_depth.py @@ -2,7 +2,8 @@ # -*- coding: utf-8 -*- # author: bt3gl -def max_depth(root: Optional[Node]) -> int: + +def max_depth(root) -> int: if root is None: return 0