Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- algoritmo exibe_clubes(literal compt)
- inicio
- ListaLSE lista;
- NodoAB no,pai,paux;
- no <- novo NodoAB();
- lista <- nova ListaLSE();
- se(vazia()) então
- então raiz <- no;
- senão inicio
- pai <- nulo;
- paux <- raiz;
- fim
- enquanto(paux != nulo) faça
- inicio
- pai <- paux;
- se(paux.get_compt() = compt)
- então incio
- lista.incluir_final(no);
- fim
- fim
- lista.exibir();
- fim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement