Robert Bosch interview question

Linked list reversing in pseudo code