An option to decode directly to ObjectProxy/ArrayCollection would be very helpful when developing in the Flex framework. That way decoded objects can be used for binding without any modification.
Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, and right boundary in order without duplicate nodes.