搜索资源列表
sort
- 利用堆排序的思想,使用C++模板类,对数组进行排序,输出最大或最小的k个数。-The use of heap sort of thinking, using C++ template class, sort the array, the output of the maximum or minimum number of k.
STL
- 源码之前了无秘密,你将看到vector的实现、list的实现、heap的实现、deque的实现、Red Black tree的实现、hash table的实现、set/map的实现;你将看到各种算法(排序、查找、排列组合、数据移动与复制技术)的实现;你甚至能够看到底层的memory pook和高阶抽象的traits机制的实现。(Before the secret source code, you will see the vector implementation, list implement