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->dir;
- while(t->esq!=NULL){
- t = t->esq;
- }
- raiz->chave = t->chave;
- t->chave = chave;
- raiz->dir = deleta(raiz->dir,chave);
- }
- }
Add Comment
Please, Sign In to add comment