내가 원하는건 자식의 갯수를 무한대로 설정할 수있는건데...............
검색해봐도 이진탐색만 2줄 이런거만나오고.. ㅠㅠ
typedef struct tagNode {
char data;
int degree;
struct tagNode *child;
}Node;
typedef struct tagTree {
Node *root;
}Tree;
c언어로 전체코드좀 알고싶은데....
간단히좀 보여주실분구함...ㅠㅠ
내가 원하는건 자식의 갯수를 무한대로 설정할 수있는건데...............
typedef struct tagNode {
char data;
int degree;
struct tagNode *child;
}Node;
typedef struct tagTree {
Node *root;
}Tree;
c언어로 전체코드좀 알고싶은데....
간단히좀 보여주실분구함...ㅠㅠ
댓글 0