Algorithm And Data Structure implemented in Java