I am trying to create a method that will remove the first "n" items from the front of a LinkedList. Here's what a have so far...
public void removeFront(Node head, int n)
{
for(n != 0)
n = n -1
If(head != null)
Node temp = head.next
head = temp
}
Just look up how to build a solid for loop.
for (int x = 0; x < 10; x++) { }
End your statements properly with ';'
And you've probably forgot that aswell, declare all your variables.