Sollicitatievraag bij Microsoft

Remove duplicates from an unsorted binary tree

Antwoord op sollicitatievraag

Anoniem

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.