✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Partimos de la siguiente función
void mi_funcion(const BinTree &t) {
if (t.empty()) {
// No hacemos nada
} else {
mi_funcion(t.left());
g();
}
}
Si suponemos que el árbol de entrada t está equilibrado y que tiene tamaño , y que la función g() tiene coste en tiempo constante. ¿Cuál es el orden de complejidad de esta función?