LinkedList=>ArrayList to remove complications