#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct no
{
char chave[15];
struct no<em>esq;
struct no</em>dir;
struct no*pai;
};
typedef struct no No;
void inserir(No<em>x)
{
printf("%s",x->chave);
No</em>y=NULL;
while(x!=NULL)
{
y=x;
No*z= NULL;
if(strcmp(x->chave,y->chave)==0)
printf("%s",x->chave);
if(strcmp(y->chave,z->chave)>0)
printf("%s",y->chave);
if(strcmp(y->chave,z->chave)<0)
printf("%s",z->chave);
}
}
int main()
{
return 0;
}