Paytm Interview Question

reverse a link list