![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构与算法
mashuiping
欢迎共同交流共同进步!
展开
-
剑指offer 矩形覆盖
我们可以用2*1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2*1的小矩形无重叠地覆盖一个2*n的大矩形,总共有多少种方法?原创 2017-03-18 15:39:57 · 275 阅读 · 0 评论 -
数据结构与算法之查找
数据结构与算法原创 2017-03-10 22:07:07 · 157 阅读 · 0 评论 -
数据结构与算法之排序
hash 散列表原创 2017-03-10 19:35:36 · 306 阅读 · 0 评论 -
数据结构之树
B+树转载 2017-03-09 22:17:39 · 133 阅读 · 0 评论 -
数据结构算法之动态规划、贪心算法
动态规划转载 2017-03-09 09:31:55 · 305 阅读 · 0 评论 -
数据结构与算法之大数据处理
操作系统实验转载 2017-03-08 23:11:08 · 869 阅读 · 0 评论 -
数据结构与算法--堆
··· void HeapFixdown(int a[], int i, int n) { int j = 2 * i + 1; while (j < n) { if (j + 1 < n && a[j] > a[j + 1]) j++; if (a[i] < a[j]) break;原创 2017-03-29 14:45:18 · 207 阅读 · 0 评论 -
算法与数据结构--编辑距离
#include <iostream>#include <vector>#include <string>#include <algorithm>#include <assert.h>#include <set>//#include <xfunctional>using namespace std;int myMin(int a, int b, int c) { int tem原创 2017-03-29 23:49:32 · 273 阅读 · 0 评论 -
数据结构与算法--LCS
#include <iostream>#include <vector>#include <string>#include <algorithm>#include <assert.h>#include <set>#include <xfunctional>using namespace std;int LCS(const string &str1, const string &str2原创 2017-03-31 07:49:08 · 487 阅读 · 0 评论 -
数据结构与算法--manacher算法
#include <iostream>#include <vector>#include <string>#include <algorithm>#include <assert.h>#include <set>#include <xfunctional>using namespace std;int manacher(string str) { int maxRight =原创 2017-03-31 07:36:50 · 322 阅读 · 0 评论 -
STL 解算法题目例子
STL解算法题目例子原创 2017-03-28 14:36:30 · 326 阅读 · 0 评论 -
基于Linux/Openwrt平台的H3C客户端
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl转载 2016-10-17 16:49:32 · 1918 阅读 · 0 评论 -
数据结构之字符串
C字符串操作1. char * strcpy(char * strDest, const char * strSrc); 2. char * strncpy(char *strDest, const char *source, size_t num); 3. char strcat(char *strDest, const char source);原创 2017-03-26 21:52:52 · 197 阅读 · 0 评论