LinkedList remove duplicate delete middle nthtolast