搜索资源列表
suffarray_c
- 后缀数组求最长公共子串 这里的最长公共子串是指的连续的子串,并非经典dp的那种。 aabbc abc 这两个字符串的最长公共子串为ab 算法复杂度是o(n)的(n为两个字符串长度的和)-suffix array for the longest string of public-public here - the longest string of consecutive refers to the substring. dp is not the
abc
- 树与二叉树常用遍历方法:先序递归遍历、中序递归和非递归遍历、后序递归遍历。 求二叉树树的深度。 加深对“数据结构+算法=程序”的理解和认识,提高编写较复杂程序的能力。
abc
- 数据结构最短路径求法,迪杰斯算法。大二时写的。在可以运行C的环境中都可运行。
SM3_cpp
- SM3杂凑算法c++实现, 测试字符串abc-The SM3 hash algorithm c++ achieve, test string abc
abc
- C语言算法简单优化技巧 -C language algorithm is simple and simple algorithm optimization techniques C-optimization tips
abc
- 数值计算的几种算法,用于数值计算的编程实现-Several numerical algorithm for numerical programming
abc
- C语言经典算法100例 C语言经典算法100例
binary-tree
- 1) 用先序递归过程建立二叉树(存储结构:二叉链表) 输入数据按先序遍历所得序列输入,当某节点左子树或右子树为空时,输入‘*’号,如输入abc**d**e** 2) 编写递归算法,计算二叉树中叶子结点的数目。 3)按凹入表方式输出该二叉树。 -1) The process established by the first order recursive binary tree (memory structure: binary list) input data sequen
abc
- 已知带头结点的动态单链表L中的结点是按整数值递增排序的,试写一算法将值为x的结点插入到表L中,使L仍然有序。-Known to take the lead in the dynamics of a single node in the node list L is based on integer values in ascending order, the algorithm will try to write a value of x nodes into lis
abc
- 线性回归算法,用C语言实现,非常简单实用-this is a math funtion
ABC-VC
- 蜂群算法C语言实现,附带中文注释,简单易懂-ABC algorithm coded using C programming language
用先序递归过程建立二叉树
- 用先序递归过程建立二叉树 (存储结构:二叉链表) 输入数据按先序遍历所得序列输入,当某结点左子树或右子树为空时,输入‘*’号,如输入abc**d**e**得到的二叉树为: (选做:由二叉树的先序序列和中序序列建立一棵二叉树。) 2)编写递归算法,计算二叉树中叶子结点的数目。 3)按凹入表方式输出该二叉树。
人工蜂群算法
- 人工蜂群算法ABC