Un-finished solution

Postorder should be done using iterative; and stock should be done by
dynamic programming, current approach is not right, and too many cases
should be consider.