Algorithm & Data Structure implemented in Java