Demo entry 6343509

111

   

Submitted by 11 on Jan 10, 2017 at 07:24
Language: C++. Code size: 391 Bytes.

typedef struct BiNode{
	int data;
	struct BiNode *lchild,*rchild;
}BiNode,*BiTree;
/**************************************/
typedef struct QNode{
	BiTree data;
	struct QNode* next;
}QNode,*QueuePtr;
typedef struct{
	QueuePtr front;
	QueuePtr rear;
}LinkQueue;
/*************************************/
typedef struct{
    BiTree *top;
	BiTree *base;
	int stacksize;
}SqStack;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).