摘要:
```c++ include using std::cin; using std::cout; using std::endl; //插入排序 升序 void InsertSort(int a[], int n) { for (int j = 1; j = 0 && a[i] key) { a[i 阅读全文
摘要:
归并排序 vector实现 c++ include include using std::cout; using std::endl; using std::vector; void Merge(vector &v, int L, int M, int R) { //拆分成两个vector:left 阅读全文
摘要:
双向链表(一口气写完) 更新后的双向链表,上面的链表惨不忍睹,看看下面重构的吧 实在忍不住,模仿STL写了个阉割版的List,还没加迭代器,等搞完STL源码再说吧。 阅读全文