Bloomberg interview question

Try to reverse a linked list