Question d’entretien chez Google

How to know and remove duplicate nodes from a graph?