bonjour,
je cherche l'algorithme de construction d'un arbre en language c,
l'arbre est en representation chainé
Code:
1
2
3
4
5
6
7 typedef struct noeud *arbre; struct noeu{ int val; arbre g,d; } arbre a;
Version imprimable
bonjour,
je cherche l'algorithme de construction d'un arbre en language c,
l'arbre est en representation chainé
Code:
1
2
3
4
5
6
7 typedef struct noeud *arbre; struct noeu{ int val; arbre g,d; } arbre a;
En regardant dans le site de developpez, partie Algo: http://rperrot.developpez.com/articl...ctures/arbres/
Sinon y'a le forum Algorithmes
regarde bien il ya plusieur type d'arbre. et ils ont tous leur avantage.
equilibre, ect...
cedric :D