Index Exchange interview question

To reverse a linked list, as I noted.