搜索资源列表
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的环境中都可运行。
biaodashiqiuzhi
- 问题描述 带有变量的中缀表达式是常见的数学表达式。如果规定变量由长度不超过 8 个小写字母组成;end为保留字,表示程序段结束;用?表示输出指定变量的值,则可以设计出比较复杂的表达式(即一个可顺序执行语句序列)。例如,如果有如下语句段: abc=10 def=8 c=abc+def abc=abc+5-c*2 ? c ? abc end 则输出为: c=18 abc=-21 注意:为了简化编程实现,运算符只有
SM3_cpp
- SM3杂凑算法c++实现, 测试字符串abc-The SM3 hash algorithm c++ achieve, test string abc
tony
- 成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) {
erchashu
- 数据结构二叉树的遍历 例如 输入abc..de.f..g... 输出其先序遍历中序遍历后序遍历-例如 输入abc..de.f..g... 输出其先序遍历中序遍历后序遍历
heffuman
- 通过建立赫夫曼树,将码元如“ABC”编码成 “011001”形式,也可通过此赫夫曼树进行译码,而且编码形式为最小生成树形式,即在有权值情况下编码长度最短。-Through the establishment of Huffman trees, will be key element such as " ABC" code as " 011001" form can also be carried out through the Huffman decodi
abc
- 数制转换,将二进制数转换为十进制数。数制转换-shuzhizhuanhuan
abc
- C语言算法简单优化技巧 -C language algorithm is simple and simple algorithm optimization techniques C-optimization tips
abc
- 单链表的归并排序,你可以用它来实现一个单链表的归并排序。-A single list of merge sort, you can use it to achieve a single list of merge sort.
abc
- 单链表的插入,删除用C++ 编写的,功能齐全,但是我也试试了一次-Single list of the insert, delete with C++ written, fully functional, but I also try a
abc
- 数值计算的几种算法,用于数值计算的编程实现-Several numerical algorithm for numerical programming
abc
- C语言经典算法100例 C语言经典算法100例
ewqq
- 二叉排序树的存储结构包括删除查找和插入等功能-ABC
abc
- 用C++描述链表的创建、插入、删除等操作的源程序代码-lianbiao de caru chanchu
delete-ABC
- 使用链表的数据结构,删除链表A 与 B及 C中相同的数。-Linked list data structure used to delete the list A and B and C, the same number.
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-VC
- 蜂群算法C语言实现,附带中文注释,简单易懂-ABC algorithm coded using C programming language
用先序递归过程建立二叉树
- 用先序递归过程建立二叉树 (存储结构:二叉链表) 输入数据按先序遍历所得序列输入,当某结点左子树或右子树为空时,输入‘*’号,如输入abc**d**e**得到的二叉树为: (选做:由二叉树的先序序列和中序序列建立一棵二叉树。) 2)编写递归算法,计算二叉树中叶子结点的数目。 3)按凹入表方式输出该二叉树。
