-
C 二叉搜索树的数据结构编程练习
这是一个在大学课堂数据结构课堂中学生练习的一个关于树这个特殊的数据结构的课堂练习,这个代码应用了二叉树的建树,先根,后跟、以及中跟搜索的算法
- 2022-04-17 23:30:39下载
- 积分:1
-
maze problems every step of the output change a chessboard with the recursive so...
迷宫问题输出每一步的棋盘变化 第一个用递归解决的问题-maze problems every step of the output change a chessboard with the recursive solution
- 2022-03-20 09:48:39下载
- 积分:1
-
5个关于布尔运算的C程序,以及示例,来自《C语言数值常用程序》,所以程序均经过本人测试可以正常使用!...
5个关于布尔运算的C程序,以及示例,来自《C语言数值常用程序》,所以程序均经过本人测试可以正常使用!-five Boolean operations on the C procedures, as well as examples from the "C language commonly used numerical procedures," and so I have to undergo testing can be used normally.
- 2022-03-20 14:02:02下载
- 积分:1
-
停车场管理系统
设停车场内只有一个的停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北端),若车场内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,在她之后开入的车辆必须先退出车场为它让路,待该辆车开出大门外,其它车辆再按原次序进入车场,每辆停放在车场的车在它离开停车场时必须按它停留的时间长短交纳费用。
- 2022-02-21 02:44:31下载
- 积分:1
-
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符...
设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:
1. 删除一个字符
2. 插入一个字符
3. 将一个字符改为另一个字符
将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。
-Set A and B are two strings. Operation will use the least character string A is converted to a string B. Operation of characters are talking about here include: 1. Delete a character 2. Insert a character 3. Will be replaced by one character to another character will be transformed into a string A string of at least B operand used by A to B is called the edit distance is extremely d (A, B). Design an algorithm to calculate any two of the string edit distance.
- 2022-01-26 03:32:59下载
- 积分: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
-
大数运算库
大数运算库-Treasury operations of large numbers
- 2022-02-12 09:54:57下载
- 积分:1
-
自动计算养老保险金额,包括每个月上交金额,何时开始,何时结束,退休后应得每月金额...
自动计算养老保险金额,包括每个月上交金额,何时开始,何时结束,退休后应得每月金额-Automatically calculate the amount of pension insurance, including the amount paid every month when he will begin, when the end of each month after retirement should be the amount of
- 2022-03-22 06:32:33下载
- 积分:1
-
一个xx的聚类分析算法
一个xx的聚类分析算法-xx of a cluster analysis algorithm
- 2023-06-21 07:45:02下载
- 积分:1
-
二叉树集合运算毕业论文
二叉树集合运算毕业论文- Two forks the tree set operation graduation thesis
- 2022-02-16 03:08:43下载
- 积分:1