![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
大二杨
这个作者很懒,什么都没留下…
展开
-
二叉树非递归遍历
Copy from here // // Created by daery on 2021/8/1. // #include "search.h" #include <stack> #include <iostream> #include <vector> using namespace std; //Binary Tree Node typedef struct node { int data; struct node* lchild; //左孩子转载 2021-08-01 18:07:28 · 55 阅读 · 0 评论 -
(10-1)大排序算法排序
#include <vector> #include <iostream> using namespace std; void quicksort(vector<int> &nums, int left, int right) { if (left >= right) return; int i = left, j = right; int base = nums[left]; // 轴 while (i < j) { // 分成左右原创 2021-03-28 19:06:53 · 78 阅读 · 2 评论