Frage im Vorstellungsgespräch bei Bloomberg

Simple algorithm question, linked list with random pointers