SAP Interview Question

remove linked list node with n