Domanda di colloquio di Tripadvisor

Asked to write a threadsafe graph redundancy counting function on a whiteboard.