-
递归算法周游二叉树
代码包含二叉树创建以及二叉树的先根序列,后根序列,中根序列三种递归周游二叉树算法,若有错误之处之处,还望指出!谢谢
- 2022-01-21 02:01:44下载
- 积分:1
-
动态规划算法中的三角剖分
动态规划算法中的三角剖分-dynamic programming algorithm triangulation
- 2022-12-16 17:45:04下载
- 积分:1
-
md5 c代码
对一个文件里的内容进行10000加密 是c语言来实现md5加密 这个程序是我在做一道题的时候要用到而在网上搜老一段代码改来的 (忘记原网站老 不好意思 ) 可以看看 能运行的 还能得到答案
- 2022-07-01 18:28:33下载
- 积分:1
-
棋盘马的遍历
资源描述马走‘日’字,遍历完棋盘,贪心算法思想 &nb
- 2022-05-31 01:47:08下载
- 积分:1
-
C++动态规划的算法例子,找零钱的经典问题编程
C++动态规划的算法例子,找零钱的经典问题编程-C++ Dynamic programming algorithm for example, to find the classic problem of small change programming
- 2023-05-04 21:50:03下载
- 积分:1
-
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可
1.与前面所有的数不重复
2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
- 2022-03-13 12:39:07下载
- 积分:1
-
PLS偏最小二乘
自己本地电脑上的关于PLS(偏最小二乘算法)的迭代求法,以及模拟仿真,有助于初学者加深对PLS的理解,步骤详细,有注释,附带了迭代算法在主成分上的回归。所给的链接上还有PLS得公式推导,希望有助于大家对PLS的原理的理解
- 2022-07-20 17:23:53下载
- 积分:1
-
数值分析相关问题代码,数据拟合
利用数值分析方法进行数据拟合#include
#include
#include
void main()
{
int i;
float a[3];
float x[16];
float y[16];
void Approx(float[],float[],int,int,float[]);
Approx(x,y,16,2,a);
for(i=0;i
- 2022-03-25 20:23:44下载
- 积分:1
-
二维规则网格数据的等值线追踪, 追踪算法为网格追踪法, 线绘制,可配置颜色 所读取的数据的文件格式为:surfer软件的ASCii grd文件数据...
二维规则网格数据的等值线追踪, 追踪算法为网格追踪法, 线绘制,可配置颜色 所读取的数据的文件格式为:surfer软件的ASCii grd文件数据-2D mesh contour data tracking, tracing algorithm for tracking grid, line drawing, color can be configured by reading the data file formats : surfer software ASCii grd document data
- 2022-08-19 10:33:54下载
- 积分:1
-
流形学习的源代码
流形学习的源代码,ISOMAP和LLE方法来实现。
- 2022-02-03 15:17:00下载
- 积分:1