PayPal interview question

Nth node from end