Skip to content

Commit

Permalink
Update min_height.py
Browse files Browse the repository at this point in the history
  • Loading branch information
garykrige authored Apr 21, 2017
1 parent 6a2abbe commit 711c303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/min_height.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def print_tree(root):
tree.left.right = Node(30)
tree.right.left = Node(36)

height = max_height(tree)
height = min_height(tree)
print_tree(tree)
print("height:", height)

0 comments on commit 711c303

Please sign in to comment.