- 博客(2)
- 收藏
- 关注
转载 二叉树非递归遍历
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
74
原创 (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
100
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人