Konrad Group interview question

To reverse a linked list