The binary tree traversal sequence determined 22

 

 

Preorder, inorder

In sequence, after

  You can determine a unique binary tree.

 

example:

 

 

 

 

 

According to the order, the sequence determination binary sequence:

 

 

Guess you like

Origin www.cnblogs.com/CPU-Easy/p/11846266.html