typedef struct node { int key; struct node *left; struct node *right; } node ;