Visa Inc. interview question

Reverse a linked list