资源列表
[数据结构常用算法] CreateALGraph
说明:拓扑排序问题 Csharp 算法 采用的方法是图的经典数据结构,若是有向无环图DAG则输出一个拓扑排序。若不是DAG则输出其中的一个环。-Topological sorting algorithm problem Csharp method is a classic graph data structure, if the directed acyclic graph DAG output is a topological sort. DAG if it is not one of the ou<彭成义> 在 上传 | 大小:6kb | 下载:0
[数据结构常用算法] chuangxinjijing
说明:平方幻方的程序实现 (1)研究了幻方和平方幻方的性质。写出了1—n*n的幻方程序 (2)明白要写这样的程序,需要用蛮力法来加以解决,这样对问题的解决带有极大的盲目性,完全是一个NP问题。 -Square magic square program (1) studied the magic square and the square of the nature of magic squares. Write a 1-n* n magic square of the procedure<彭成义> 在 上传 | 大小:43kb | 下载:0
[数据结构常用算法] jyhygjyghj
说明:线索二叉树 建立中序线索二叉树,并且中序遍历 求中序线索二叉树上已知结点中序的前驱和后继;-Binary tree in order to establish clues clues tree, and in the traversal sequence for clues in the binary tree nodes on the known sequence of the precursor and follow-up<XH> 在 上传 | 大小:241kb | 下载:0
[数据结构常用算法] tttcccccc
说明:设停车场是一个可以停放n辆汽车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次有北向南排列(大门在最南端,最先到达的第一车停放在车场的最北端),若车场内已停满n辆车,那么后来的车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车即可开入;当停车场内某辆车要离开时,-Car parks are located a vehicle parked n the long and narrow channel, and there is only one do<XH> 在 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 1111111111
说明:设计学校的校园平面图,所含景点不少于10个,以图中顶点表示校内各景点,存放景点名称、代号、简介等信息;以边表示路径,存放路径长度等相关信息。 (2)为来访客人提供图中任意景点相关信息的查询。 (3)为来访客人提供景点的问路查询,即已知一个景点,查询到某景点之间的一条最短路径及长度。 -Floor plan design in schools, which contain not less than 10 spots in order to express their point of<XH> 在 上传 | 大小:3kb | 下载:0