Question d’entretien chez Bloomberg

Simple algorithm question, linked list with random pointers