Back to QuestionsPractice with This Question
Boundary of Binary Tree
38.8K views•Asked at Oracle•
Medium
Question Explain
Given a binary tree, return the values of its boundary nodes, ordered anti-clockwise, starting from the root. The boundary includes the left boundary, leaves, and right boundary.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.