SAP Interview Question

reverese a linked list