摘要:
#include<stdio.h> #include<stdlib.h> typedef int ElemType; typedef struct LNode{ ElemType data; struct LNode *next; }LNode,*LinkList; bool InitList(Li 阅读全文
posted @ 2021-07-14 21:58
upupup-999
阅读(134)
评论(0)
推荐(0)
摘要:
//判断循环双链表是否对称 int Symmetry(DLinkList L) { DNode *p=L->next,*q=L->prior; while(p!=q&&p->next!=p) if(p->data==q->data) { p=p->next; q=q->prior; } else r 阅读全文
posted @ 2021-07-14 21:21
upupup-999
阅读(488)
评论(0)
推荐(0)
浙公网安备 33010602011771号