
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
大话数据结构——KMP算法(还存在问题)
http://www.ruanyifeng.com/blog/2013/05/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.html/*#include<iostream>#include <string>using namespace std;int count_same_char(stri...
mysql-count与sum
参考:https://www.jb51.net/article/141238.htm建立时间临时辅助表:https://blog.csdn.net/qq_36226453/article/details/81875904count与sum的 用法与区别与group by连在一起的用法count用法:SELECT COUNT(country) FROM newtab...
三角形问题——(递归,递推,动态规划)
1. 用递归的方法来解决这个问题2.带记忆的递归(将那些已经计算过的点直接返回值)这里递归的时候,将那些计算过在它之下的最大路径的值保存起来,下次再用的时候直接查看就可以了#include<iostream>#include <vector>#include <string>using namespace std;...
大话数据结构——二叉树的建立于遍历
#include<iostream>#include<assert.h>#include<stdlib.h>#include <stdio.h>#include <cstdlib>using namespace std;#define OK 1#define TURE 1#define E...
到底了