typedef struct
{
int elem[MAXSIZE];
int last;
} SeqList;
typedef struct node
{
int data;
struct node *next;
}LNode,*LinkList;
typedef struct
{
int elem[];
int top;
} SeqStack;
typedef struct node
{
int data;
struct node *next;
} LinkStackNode;
typedef LinkStackNode *LinkStack;
typedef struct Node
{
int data;
struct Node *next;
} LinkQueueNode;
typedef struct
{
LinkQueueNode *front;
LinkQueueNode *rear;
}LinkQueue;
typedef struct
{
int element[MAXSIZE];
int front;
int rear;
}SeqQueue;
typedef struct
{
char ch[MAXLEN];
int len;
} SString;
typedef struct
{
int len;
int start;
}HeapString;
typedef struct
{
char *ch;
int len;
} HString;
typedef struct Block
{
char ch[BLOCK_SIZE];
struct Block *next;
} Block;
typedef struct {
Block *head;
Block *tail;
}BLString;
typedef struct
{
int row,col;
int e;
}Triple;
typedef struct
{
Triple data[MAXSIZE+1];
int m,n,len;
} TSMatrix;
typedef struct Node
{
int data;
struct Node *LChild;
struct Node *RChild;
} BitNode,*BiTree;