mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-09 12:11:28 +08:00
Update RedBlackBST.java
closing Scanner scan
This commit is contained in:
@ -330,5 +330,6 @@ public class RedBlackBST {
|
|||||||
printTree(root);
|
printTree(root);
|
||||||
System.out.println("Pre order");
|
System.out.println("Pre order");
|
||||||
printTreepre(root);
|
printTreepre(root);
|
||||||
|
scan.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user