COMPLEJIDAD ELIMINARC1

                                                                                //O(1)
    private boolean eliminarC1(NodoBin<T> r){                                   //T=3+1+max(2+max(1,0)+2+1,0)+3+3+1+max(2+1,0)+1+max(2+1,0)+1 = 3+1+2+1+2+1+3+3+1+3+1+3+1 = 24
        NodoBin<T> p = this.getPadre(r);                                        //3
        if(p==null){                                                            //1+max
            if(this.getRaiz()!=r)                                               //2+max
                return (false);                                                 //1
            this.setRaiz(null);                                            //2
            return (true);                                                      //1
        }            
        NodoBin<T> hi = p.getIzq();                                             //3
        NodoBin<T> hd = p.getDer();                                             //3
        if(hi==r){                                                              //1+max
            this.getPadre(r).setIzq(null);                                   //2
            return true;                                                        //1
        }   
        if (hd==r){                                                             //1+max
            this.getPadre(r).setDer(null);                                    //2
            return true;                                                        //1
        }   
        return (false);                                                         //1
    }
T=3+1+max(2+max(1,0)+2+1,0)+3+3+1+max(2+1,0)+1+max(2+1,0)+1
T=3+1+2+1+2+1+3+3+1+3+1+3+1 = 24

T=24

O(1)