Respuesta :

It is O(n) for preorder, inorder, and postorder traversals since you visit all of the nodes for each.

Otras preguntas