Código
{ if(tNode == null) //if empty height 0 { return 0; } else { return 1 +(Math.max(height(tNode.getLeft()),height(tNode.getRight()))); //NO ENTIENDO ESTA PARTE, PORQUE EL MATH ??? } }
Me podrian explicar la parte de return 1 + ....
??
gracias d antemano
saludz
