SAP interview question

remove linked list node with n