Leidos Interview Question

Write a function to delete a node in a linked list.