Algorithm and data struct
春呜
123
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
陀罗输出
#include <iostream> #include <iomanip> using std::endl; using std::cout; using std::setw; void OutputTuoluo(const int kSize) { int *array_data = new int[kSize*kSize]; int right = kSize;...原创 2018-03-17 22:46:00 · 204 阅读 · 0 评论 -
二叉查找树常用小程序
BinaryTree.hstruct BSTreeNode { int m_nValue; // value of node BSTreeNode *m_pLeft; // left child of node BSTreeNode *m_pRight; // right child of node }; // 创建二元查找树 void addBSTreeNode(BST...原创 2018-02-25 23:44:16 · 508 阅读 · 0 评论 -
string: longest common sequence and longest common substring
1 longest common sequence #include <iostream> #include <assert.h> using namespace std; void LCS_LENGTH_1(const char *kArr1, const int kLen1, const char *kArr2, const int kLen2, ...转载 2018-02-25 23:01:04 · 290 阅读 · 0 评论
分享