Skip to content

Commit

Permalink
Merge pull request keon#7 from garykrige/patch-1
Browse files Browse the repository at this point in the history
Update min_height.py
  • Loading branch information
keon authored Apr 21, 2017
2 parents 6a2abbe + 711c303 commit 0eb348f
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 0eb348f

Please sign in to comment.