mirror of
https://github.com/CodePanda66/CSPostgraduate-408.git
synced 2023-05-21 21:49:33 +08:00
🌱 add ThreadBiTree
This commit is contained in:
32
DataStructure/DS_4_TreeAndBinaryTree/DS_4_0_BiTreeSq.cpp
Normal file
32
DataStructure/DS_4_TreeAndBinaryTree/DS_4_0_BiTreeSq.cpp
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Created by Kim Yang on 2020/8/14.
|
||||
// Copyright (c) Kim Yang All rights reserved.
|
||||
//
|
||||
|
||||
//顺序存储————二叉树
|
||||
#include <stdio.h>
|
||||
|
||||
/**定义模块**/
|
||||
#define MaxSize 100
|
||||
|
||||
struct TreeNode {
|
||||
int value;//结点中的数据元素
|
||||
bool isEmpty;
|
||||
};
|
||||
|
||||
/**定义模块**/
|
||||
|
||||
/**实现模块**/
|
||||
//坐等填坑
|
||||
|
||||
/**实现模块**/
|
||||
|
||||
/**测试模块**/
|
||||
|
||||
|
||||
/**测试模块**/
|
||||
|
||||
int main() {
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user