PayPal Interview Question

Implement function that revert link list recursive