C-Language/Linked List 썸네일형 리스트형 Linked List Example Linked List 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'}}; st.. 더보기 이전 1 다음