Pregunta de entrevista de Citadel

Coding question: involved a broken, randomised linked list.