Broadcom Interview Question

1. Reverse a Linked list