Zoox Interview Question

How to reverse linked list