Algorithm to construct Expression tree from Postfix:
- Examine the next element in the input
- If it is operand then
- Create the leaf node(right and left child are null)
- Copy the operand in data part
- Push Node’s address on Stack.
- If it is an operator then
- Create a node
- Copy the operator on data part
- POP address of node from Stack and assign to node->right
- POP address of node from Stack and assign to node->left
- PUSH node’s address on Stack.
- If there is more input, go to step 1
- If there is no more input, POP the address from Stack which is the address of the root node.

