问题 单项选择题

已知一棵二叉树前序遍历和中序遍历分别为ABDECCPH和DBGEACHF,则该二叉树的后序遍历为

A.GEDHFBCA

B.DGEBHFCA

C.ABCDEFGH

D.ACBFEDHG

答案

参考答案:B

解析:【解析】利用前序和中序遍历的方法可以确定二叉树的结构,具体步骤如下:①前序遍历的第一个结点A为树的根结点;②中序遍历中A的左边的结点为A的左子树,A右边的结点为A的右子树;③再分别对A的左右子树进行上述两步处理,直到每个结点都找到正确的位置。

选择题
完形填空
完形填空
      That cold January night,   I was growing sick of my life in San Francisco.  There I was,   __1__
home at one in the morning after a(n) __2__ practice at the theatre.  With __3__ night only a week
away,   I was still learning my __4__.  I was having __5__ dealing with my parttime job at the bank
and my acting at theatre at the same time.  As I walked,   I thought seriously about __6__ both acting
and San Francisco.  __7__ had become too much for me.  
      As I walked down empty streets under tall buildings,   I felt very __8__ and cold.  I began running, 
  both to keep warm and to keep away from any possible robber(抢劫犯).  Very few people were
still out except a few sadlooking homeless people under blankets.  
     About a block from my apartment,   I heard a __9__ behind me.  I   10   quickly,   half expecting
to see someone with a knife or a gun.  The street was   11  .  All I saw was a streetlight.    12  ,   the
noise had made me nervous,   so I started to run faster.  Not until I reached my apartment building and
unlocked the door did I realize what the noise had been.  It had been my   13   falling to the sidewalk.  
  14   I wasn't cold or tired anymore.  I ran out of the door and back to where I'd heard the noise.  
Although I searched the sidewalk   15   for fifteen minutes,   my wallet was nowhere to be found.  
     Just as I was about to give up the search,   I heard the garbage truck(垃圾车)   16   to the sidewalk
next to me.  When a voice called from the inside,   "Alisa Camacho?" I thought I was   17  .  How could
this man know my name? The door opened,   and out jumped a small redhaired man with a(n)   18 
 look in his eyes.  "Is this what you're looking for?" he asked,   holding up a small square shape.  
     It was nearly 3 am by the time I got into bed.  I wouldn't get much sleep that night,   but I had gotten
my wallet back.  I also had gotten back some   19   of city life.  I realized that the city couldn't be a bad
place   20   people were willing to help each other.  
( )1. A. flying        
( )2. A. exciting      
( )3. A. opening        
( )4. A. lines          
( )5. A. ability        
( )6. A. picking up    
( )7. A. City life      
( )8. A. sad            
( )9. A. shout          
( )10. A. ran          
( )11. A. empty        
( )12. A. Still        
( )13. A. note          
( )14. A. Surprisingly  
( )15. A. anxiously    
( )16. A. pull up      
( )17. A. awake        
( )18. A. surprising    
( )19. A. comfort      
( )20. A. as a result  
B. driving      
B. tiring        
B. closing      
B. positions    
B. trouble      
B. turning up    
B. Performances  
B. happy        
B. cry          
B. turned        
B. quietly      
B. But          
B. cap          
B. Suddenly      
B. nervously    
B. turn over    
B. dreaming      
B. surprised    
B. enjoyment    
B. as far as    
C. moving          
C. fascinating    
C. dancing        
C. orders          
C. possibility    
C. thinking of    
C. Accountant      
C. small          
C. song            
C. jumped          
C. noisy          
C. Also            
C. key            
C. Ridiculously    
C. whole?heartedly
C. pass by        
C. beaten          
C. amused          
C. pressure        
C. as long as      
D. walking        
D. enjoyable      
D. important      
D. characters    
D. worry          
D. giving up      
D. Job searching  
D. great          
D. noise          
D. stepped        
D. deserted      
D. Furthermore    
D. wallet        
D. Absurdly      
D. sadly          
D. go away        
D. stolen        
D. amusing        
D. excitement    
D. as if