摘要:
一个栈 //栈 #include <stdio.h> #include <math.h> #include <stdlib.h> #include <algorithm> #define STACK_INIT_SIZE 20 #define STACK_INCREMENT 10 typedef ch 阅读全文
posted @ 2020-04-03 21:08
He_LiangLiang
阅读(190)
评论(0)
推荐(0)
摘要:
实现了一个完整的单链表。 时长看一看,深入理解单链表的各个细节。 /* 设计一个算法求出单链表的倒数第m个结点,要求不得求出链表长度,不得对链表进行逆转,如果找到这样的结点就返回它的地址,如果没有就返回NULL。 */ #include <iostream> using namespace std; 阅读全文
posted @ 2020-04-03 20:30
He_LiangLiang
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号