#include <stdio.h>
#include<stdlib.h>
struct Stack{
int top;
int data[10];
int intime;
int outtime;
};
void initstack(struct Stack stack){
stack.top=-1;
}
int testStack(struct Stack stack )
{
return (S.top == -1);
}
1.void Stackinput(struct Stack stack,int number,int intime){
if(top==9);
stack.top++;
stack.data[top]=n;
stack.intime=intime;
}
2.int Stackpop(){
if(top==-1);
}
int Stackfull(struct Stack stack )
{
return (S.top == 9);
}
typedef struct qNode{
int data;
struct qNode *next;
};
struct Queue{
queue front;
queue rear;
};
void initQueue(Queue &Q){
Q.front=Q.rear=(queue)malloc(sizeof(qNode));
Q.front->next=NULL;
}
int main () {
return 0;
}