逍遥叹逍遥
逍遥叹逍遥
全部文章
分类
自学(12)
归档
标签
去牛客网
登录
/
注册
逍遥叹逍遥的博客
全部文章
(共12篇)
大楼轮廓,值等于aim的最大子数组,异或数组(值未解决)
程序1:大楼轮廓 #include<iostream> //大楼轮廓 ,比较器,vector排序,map找最后一个元素时出错,未解决 using namespace std; #include<string> #include<typeinfo> #includ...
2021-01-16
0
403
morris遍历
程序1:morris遍历 #include<iostream> //morris遍历 using namespace std; #include<string> #include<typeinfo> #include<deque> #include&...
2021-01-08
0
354
单调栈结构及应用
程序1:单调栈结构: #include<iostream> //单调栈结构(自) using namespace std; #include<string> #include<typeinfo> #include<deque> #include&l...
2021-01-04
0
503
窗口问题,子数组中的最大值减最小值小于或等于num
程序1:窗口问题求划过的最大值数组 #include<iostream> //窗口问题求划过的最大值数组,双端队列 using namespace std; #include<string> #include<typeinfo> #include<deq...
2020-12-29
0
462
进阶1:KMP算法,Manacher算法,BFPRT算法
程序1:KMP算法 #include<iostream> //KMP算法 using namespace std; #include<string> #include<typeinfo> int* getNextArray(string str2) { ...
2020-12-21
0
443
暴力递归到动态规划
程序1:汉诺塔问题 #include<iostream> // N层汉诺塔问题 using namespace std; #include<string> void process(int N, string from,string to,string help) { ...
2020-12-09
0
357
贪心算法
程序1:字典序的字符串拼接程序2:切金条 #include<iostream> //切金条,使用了优先级队列 using namespace std; #include<string> #include<limits.h> #include<vector&g...
2020-12-07
0
373
并查集,岛问题,前缀树
程序1:并查集 #include<iostream> //并查集 using namespace std; #include<string> #include<limits.h> #include<vector> #include<unorder...
2020-12-01
0
443
二叉树1-
程序1:二叉树的先中后序遍历 #include<iostream> //二叉树的先中后序遍历 using namespace std; #include<stack> struct Node { int value; Node* left; Node...
2020-11-23
0
406
算法3:程序21-22
程序21:拷贝含随机指针的链表 #include<iostream> //拷贝含随机指针的链表 using namespace std; #include<hash_map> struct Node { int value; Node*next; N...
2020-11-19
0
426
首页
上一页
1
2
下一页
末页