Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // pra no com dois filhos
- else if(raiz->esq!=NULL && raiz->dir!=NULL){
- Arvore *t = raiz->esq;
- while(t->dir!=NULL){
- t = t->dir;
- }
- raiz->chave = t->chave;
- t->chave = chave;
- raiz->esq = deleta(raiz->esq,chave);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement