C-Language/Tree Example 썸네일형 리스트형 Tree Example Tree Example #include struct _list_node { int num; char ch; struct _list_node* nodePtr; }; struct _tree_node { int num; char ch; struct _tree_node* left; struct _tree_node* right; }; /* 구성할 트리의 구조 A B C D E F G H I J */ void printTree(struct _tree_node* root); void printList(struct _list_node* root); int main(void) { struct _list_node list[] = {{1,'A'},{2,'B'},{3,'C'},{4,'D'},{5,'E'}}; struct _t.. 더보기 이전 1 다음