C++实现双向链表(List)

list是C++容器类中的“顺序存储结构”所包含的一种结构。list是非连续存储结构,具备双链表结构,支持前向/后向遍历,且支持高效的随机删除/插入。 node 实现代码以下:ios **list.h** #pragma once #include<stdio.h> #include<assert.h> #include<iostream> using namespace std; typed
相关文章
相关标签/搜索