Question d’entretien chez Apple

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