Philips interview question

delete the element in linked list