二叉树与堆排序

一、简单二叉树的建立与遍历node 遍历:先序遍历、中序遍历、后续遍历数组 #include <stdio.h> #include <stdlib.h> struct node { int data; struct node *right, *left; }; typedef struct node TreeNode; TreeNode *CreateTree(int *a) { int
相关文章
相关标签/搜索