dahiyakuldeep304's blog

By dahiyakuldeep304, history, 10 days ago, In English

I know how to find all possible trees with given inorder/preorder. But not able to do same given postorder traversal. Anyone please help me. Providing a code will be much help. Thanks.

 
 
 
 
  • Vote: I like it
  • -10
  • Vote: I do not like it

»
9 days ago, # |
  Vote: I like it +2 Vote: I do not like it

Anyone here.

»
9 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Hint: Postorder by definition allows you to find topological orderings to your graph.