Question d’entretien chez Microsoft

Remove duplicates from an unsorted binary tree

Réponse à la question d'entretien

Utilisateur anonyme

1 nov. 2019

Implemented a separate remove function that swapped till the node was a leaf, and destroyed it. Used a hash map to detect duplicates.