D. E. Shaw India Interview Question

To reverse a linked list