To find nth node from the end in a singly linked list
Anonymous
Have two pointers called headPointer, NthPointer. Move headPointer N times. Move both the pointer until headPointer hits null. NthPointer will point to Nth Node.
Check out your Company Bowl for anonymous work chats.