Boundary of Binary Tree


Pls check out my recursive solution. It does this in one iteration.
https://discuss.leetcode.com/topic/87069/javarecursivesolutionbeats94

@tyuan73 root node doesn't have a right child, then according to the definition of right boundary only root node will be considered in right node. Hence 4 should not be there.