- 1
- 0
- 约2.32万字
- 约 45页
- 2021-12-02 发布于天津
- 举报
# includestdio.h #includeiostream.h #includestdlib.h #define MAX 100 struct node{ char data;
struct node *next;
};
int ishs(struct node *head,int n) {
char stack[MAX/2]; struct node *p=head;
int top=0; while(topn/2) {stack[top]=p-data; top++;
p=p-next;} if(n%2==1)
p=p-next; top--; while(p!=NULLtop=0
原创力文档

文档评论(0)