Ampush Interview Question

reverse a linked list