Please clarify one thing: Are you using the standard java.util.LinkedList class, or are you creating or using a LinkedList class that's special to this exercise?

Then look at the pollFirst method that does both things in one call - it returns the first element, and it also removes it , leaving the "rest" in the List.

sorry to be a pain but could you give me an example in code? I am a very visual learner.