SAP interview question

Reverse a linked list with pointers