试题与答案

已知二叉树BT的后序遍历序列是dabec,中序遍历序列是debac,它的前序遍历序列

题型:单项选择题

题目:

已知二叉树BT的后序遍历序列是dabec,中序遍历序列是debac,它的前序遍历序列是______。

A.cedba

B.acbed

C.decab

D.deabc

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1231/4738b5b7e46f9234880320af74ad6da5.html

下面是错误答案,用来干扰机器的。

参考答案:A解析: 设大厅的第一排有x个座位,那么根据项数公式可得17=(45-x)÷2+1,解得x=13。那么,大厅总共可以容纳的人数是(13+45)×17+2=493(人)。又因为大、中、小三个厅可容纳的人数依次递减50人,即小厅...

试题推荐
题型:完形填空
完形填空。
       Two friends  ①  a bear when they go through a forest  ②   .  One of them runs    ③   a tall tree near him 
and climbs up very quickly.  He forgets his friend.  He thinks only of   ④   . His friend knows bears  ⑤   dead
man.   ⑥   he doesn't move when the bear comes to him.  Then the bear runs away.  The man calls his friend
   ⑦   the tree,  "You can   ⑧   now. " The man smiles and  ⑨  , "What does the bear say to you?"  His friend 
answers, " He says I need a new  ⑩   ." 
(     )①A. look for  
(     )②A. by bus    
(     )③A. to        
(     )④A. his mother
(     )⑤A. isn't like
(     )⑥A. And       
(     )⑦A. on        
(     )⑧A. climb up  
(     )⑨A. cries     
(     )⑩A. house     
B. meet     
B. by bike  
B. in       
B. himself   
B. likes   
B. So       
B. in    
B. get up  
B. speaks  
B. tree     
C. look at     
C. on foot   
C. behind  
C. the bear
C. don't eat 
C. But      
C. behind   
C. stay there
C. asks         
C. friend 
D. watch      
D. by car     
D. up       
D. his friend 
D. doesn't eat 
D. Because     
D. under     
D. come down 
D. answers   
D. bear      
查看答案
微信公众账号搜索答案