C++: 第10题怎么做,求帮助
1个回答
展开全部
二叉树形态为:
...............................E
................./..............................\
..............A...................................F
........./..........\......................./..........\
.....o...............D...............o.................G
../.....\........./.....\........../....\............./....\
o.......o.....C........J......o......o.........I.........H
....................\
.......................B
其中“o”表示空结点。
后序遍历序列为:
B C J D A I H G F E
...............................E
................./..............................\
..............A...................................F
........./..........\......................./..........\
.....o...............D...............o.................G
../.....\........./.....\........../....\............./....\
o.......o.....C........J......o......o.........I.........H
....................\
.......................B
其中“o”表示空结点。
后序遍历序列为:
B C J D A I H G F E
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询