PayPal interview question

Linked list implementation