Practice of Java Tutorial, data structure and algorithm