This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #define MAXSIZE 100 | |
| typedef char DataType; | |
| typedef struct Node | |
| { | |
| DataType data; | |
| struct Node *left; | |
| struct Node *right; | |
| }BTNode, *PBTNode, *BiTreeLink; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<malloc.h> | |
| typedef int DataType; | |
| typedef struct Node | |
| { | |
| DataType data; | |
| struct Node *next; | |
| }LNode, *PNode, *LinkList; |