AMD interview question

Remove a node from a linked list.