Google interview question

how to reverse linked list