SAP Interview Question

reversing a linked list and inserting in a linked list