Skip to content

Commit 939b6c7

Browse files
committed
deleted unnecessary function AVL
1 parent 04f4c8f commit 939b6c7

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

build/classes/Trees/AVL.class

-836 Bytes
Binary file not shown.

build/classes/Trees/Main.class

-100 Bytes
Binary file not shown.

src/Trees/AVL.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,4 @@ public String toString() {
104104
return inOrder().toString();
105105
}
106106

107-
public void display() {
108-
display(root);
109-
}
110-
111-
private void display(AVLNode node) {
112-
if (node == null) {
113-
System.out.print(null + " ");
114-
return;
115-
}
116-
System.out.print(node.val + " ");
117-
display(node.left);
118-
display(node.right);
119-
}
120-
121107
}

0 commit comments

Comments
 (0)