add TreesqLink and tree Link

This commit is contained in:
kim yang
2020-08-29 16:38:15 +08:00
parent 76bb9eba41
commit 75ae1abb55
2 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
//
// Created by Kim Yang on 2020/8/29.
// Copyright (c) Kim Yang All rights reserved.
//
#include <stdio.h>
//树——孩子兄弟表示法(链式存储)
/**定义模块**/
typedef struct CSNode{
int data; //数据域,数据类型不定,此处的int只是一个列子
struct CSNode *firstChild,*nextsibiling;//第一个孩子和右兄弟指针
}CSNode,*CSTree;
/**定义模块**/
/**实现模块**/
//坐等填坑
/**实现模块**/
/**测试模块**/
void testModule() {
}
/**测试模块**/
int main() {
return 0;
}