17

Arboles binarios

Embed Size (px)

Citation preview

struct tnode { int valor; struct tnode *left; struct tnode *right;

} ;

typedef struct tnode nodo;typedef nodo *pnodo;

struct tnode { int valor; struct tnode *left; struct tnode *right;

} ;

typedef struct tnode nodo;typedef nodo *pnodo;

valor

left right

56

20 60

57 7915

16

56

20 60

58 7915

16

57

56

20 60

58 7915

16

57

56

20 60

58 7915

16

57

56

20 60

58 7915

16 57

56

20 60

58 7915

16 57

56

20

58 7915

16 57

56

20

58

79

15

16 57