COMPLEJIDAD GETHOJAS

                                                                              //O(1)
    public Iterator<T> getHojas(){                                              //T=2+2+2 = 6
        ListaCD<T> l=new ListaCD<T>();                                          //2
        getHojas(this.raiz, l);                                              //2
        return (l.iterator());                                                  //2
    }
T=2+2+2 = 6

T=6

O(1)