Question d’entretien chez Rattle

Solve data structure question. Had to use linked list