mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Update AVLTree.java
This commit is contained in:
@@ -202,7 +202,7 @@ public class AVLTree {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean search(int key) {
|
||||
public boolean search(int key) {
|
||||
Node result = searchHelper(this.root,key);
|
||||
if(result != null)
|
||||
return true ;
|
||||
|
||||
Reference in New Issue
Block a user