STL 学习笔记 07:常用函数速查
常用 STL 函数速查:accumulate、sort、lower_bound、next_permutation、unique 与 __builtin 位运算等。
常用 STL 函数速查:accumulate、sort、lower_bound、next_permutation、unique 与 __builtin 位运算等。
array 与 tuple:固定长度数组与元组的声明、成员函数和用法示例。
string 与 bitset:字符串的初始化、读入与常用方法,以及位集合的使用。
map、set 等关联容器:常用方法、遍历与二分查找,以及与 unordered_map 的比较。
queue、deque 与 priority_queue:常用方法、队列模拟与优先级设置。
stack:栈的声明、常用方法,以及用数组模拟栈进行遍历。
vector:可变长数组的初始化、常用方法与访问方式。