MathWorks Interview Question

How to delete an element of a linked list.