JAVA-Data Structure and Algorithm