文件名称:S020600210
介绍说明--下载内容均来自于网络,请自行研究使用
« 问题描述:
有时需要测试2 个数据结构的同构性,即2个同构的结构在相应的位置具有相同结点数
和分枝数。试设计一个递归函数用于测试2 棵二叉树是否同构。
« 实验任务:
对于给定的2 棵二叉树,计算这2 棵二叉树是否同构。-« Descr iption of the problem: sometimes need to test two data structures of the same configuration, that is, the isomorphism of two structures in the corresponding position with the same number of nodes and branches. Test the design of a recursive function used to test whether the two tree isomorphism. « Experimental task: For a given binary tree 2 to calculate whether or not these two tree isomorphism.
有时需要测试2 个数据结构的同构性,即2个同构的结构在相应的位置具有相同结点数
和分枝数。试设计一个递归函数用于测试2 棵二叉树是否同构。
« 实验任务:
对于给定的2 棵二叉树,计算这2 棵二叉树是否同构。-« Descr iption of the problem: sometimes need to test two data structures of the same configuration, that is, the isomorphism of two structures in the corresponding position with the same number of nodes and branches. Test the design of a recursive function used to test whether the two tree isomorphism. « Experimental task: For a given binary tree 2 to calculate whether or not these two tree isomorphism.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
S020600210
..........\same.c
..........\same.ppt
..........\same.c
..........\same.ppt