Given a binary tree, identify all interior nodes that are not part of the boundary traversal. The boundary consists of the root, the leftmost path, the leaves, and the rightmost path.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.