list
1. 序列式容器
vector、list、deque、forward_list(C11 )等STL容器,其底层为线性序列的数据结构,里面存储的是元素本身,这样的容器被统称为序列式容器。
2. list容器
list 是用双向带哨兵位头节点的循环链表实现的。list 通过类模板…
打卡cs106x(Autumn 2017)-lecture7
(以下皆使用SPL实现,非STL库,后续课程结束会使用STL实现) 1、recursionMystery648
Given the function below, what is the output of the following call? (What is the function really doing?)
mystery(648); …