Question d’entretien chez Amazon

How would you implement a binary search algorithm for a tree-type data structure?

Réponse à la question d'entretien

Utilisateur anonyme

18 févr. 2011

convert the tree into a binary search tree. you will not have memory loss, if for every node you create, you delete one from the tree.