Ericsson Interview Question

1. Reverse a linked list.