摘要:
//链表实现栈需要将表尾作为栈底(botton) 表头作为栈顶(top) 头删作为出栈/弹栈(pop) 头插作为入栈/压栈(push) /* * @file_name : Create stack * @file_function : Creat a stack * @author : 9Tired 阅读全文
posted @ 2026-08-20 23:49
9Tired
阅读(1)
评论(0)
推荐(0)
摘要:
/* * @file_name : Create DoubleCir_LList * @file_function : Creat a Double Circle LInked list * @author : 9Tired * @date :2026-8-20 * @note : None * @ 阅读全文
posted @ 2026-08-20 23:19
9Tired
阅读(2)
评论(0)
推荐(0)
摘要:
typedef int DataType_t; typedef struct CircularLinkedList { DataType_t data; //节点的数据域 struct CircularLinkedList * next;//结点的指针域 }CircuLList_t; //创建一个空 阅读全文
posted @ 2026-08-20 08:55
9Tired
阅读(1)
评论(0)
推荐(0)

typedef int Data_t; bool LinkedList(LList * head,int k) { //链表为空或者不足k个进行判断直接返回0 // k必须为正整数 if(k < 1) return 0; if(head->next == NULL ) return 0; int c
浙公网安备 33010602011771号