Tripadvisor interview question

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