COMPLEJIDAD GETGRADO

                                                                         //O(1)
    public int getGrado(T info){//T=3+1+max(1,0)+2+max(1,0)+2+2+max(2,0)+2+max(2,0)+1 = 4+1+2+1+4+2+2+2+1 = 19
        NodoBin nodo = this.buscar(info);                                       //3
        if(nodo==null)                                                          //1+max
            return (-1);                                                        //1
        if(this.esHoja(nodo))                                                 //2+max
            return (0);                                                         //1
        int rta = 0;                                                            //2
        if(nodo.getIzq()!=null)                                                 //2+max
            rta++;                                                              //2
        if(nodo.getDer()!=null)                                                 //2+max
            rta++;                                                              //2
        return (rta);                                                           //1
    }
T=3+1+max(1,0)+2+max(1,0)+2+2+max(2,0)+2+max(2,0)+1
T=4+1+2+1+4+2+2+2+1 = 19

T=19

O(1)