链表声明:

//基本结构声明

#include<iostream>
#include<queue>
#include<stack>
#include<cstdio>

#define NoInfo 0        // 0表示没有结点 
using namespace std;
typedef int ElementType;
typedef struct TNode* Position;
typedef Position BinTree;
//二叉树链表结构 
struct TNode{
    ElementType Data;    //结点数据 
    BinTree Left;        //左子树 
    BinTree Right;        //右子树 
};  
View Code

相关文章:

  • 2021-12-10
  • 2021-12-18
  • 2021-11-09
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2021-06-12
猜你喜欢
  • 2021-11-21
  • 2021-05-21
  • 2021-07-24
相关资源
相似解决方案