Domanda di colloquio di Apple

Define a class for a linked list and write a method to delete the nth node.