Johnson Controls Interview Question

Delete a node in a Linked list which is passed a function.