Dell Technologies Interview Question

removal of a node from a linked list