Intel Corporation Interview Question

how to reverse a linked list