#ifndef AVL_H
#define AVL_H

typedef struct AVL {
	int racine;
	struct AVL* filsG;
	struct AVL* filsD;
	int hauteur;
} AVL;

AVL* inserer(int n, AVL* a);
AVL* supprimer(int n, AVL* a);
AVL* rotationGauche(AVL* a);
AVL* rotationDroite(AVL* a);
AVL* rotationGaucheDroite(AVL* a);
AVL* rotationDroiteGauche(AVL* a);

void afficher(AVL* a);

#endif
