1.有序表
算法过程模拟:假设intList最初包含整数60,65,74,82
curr=intList.begin()
在表中插入50:
在表中插入70
实现代码
template<typename T>
//假设容器为list
C++数据结构与STL--有序表,删除表重复项
最新推荐文章于 2024-04-26 19:21:15 发布
1.有序表
算法过程模拟:假设intList最初包含整数60,65,74,82
curr=intList.begin()
在表中插入50:
在表中插入70
实现代码
template<typename T>
//假设容器为list