Domanda di colloquio di Amazon

The best implementation for a binary tree.

Risposta di colloquio

Anonimo

6 ago 2013

In-order search. Because you just need to locate the root value, and then the left side of the root value is the left tree, and the right side of the root value is the right tree.