Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit db5e7a2

Browse files
committed
README.md modified
1 parent e14e6ca commit db5e7a2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎AlgorithmCode/HeightOfTree.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ public TreeNode(int index) {
2424
*/
2525

2626
public static int heightOfTree (TreeNode root) {
27-
if (root == null)
28-
return 0;
29-
3027
return heightOfTree(root, 1);
3128
}
3229

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /