MSCI Interview Question

[Data Structure]Reverse a linked list