PayPal Interview Question

Nth node from end