赵晓玉 发表于 2014-12-18 19:02:00

求助大神 讲下列树的双亲表示法存储结构用一维数组实现

数组下表data双亲                              file:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpgfile:///C:\Documents and Settings\Administrator\Application Data\Tencent\Users\1007057521\QQ\WinTemp\RichOle\%JXTYXK$_OBVMVZRZZ{}1LD.jpg10
0 R -1
1 A 0
2B 0
3 C 0
4 D 1
5 E 1
6 F 3
7 G 6
8 H 6
9 K 6


帮助了别人也帮助了自己,大家都看看吧

xueying 发表于 2014-12-29 19:27:40

mark,学习中
页: [1]
查看完整版本: 求助大神 讲下列树的双亲表示法存储结构用一维数组实现