Boundary of Binary Tree
CodingPhone, OnsiteSoftware EngineerReported Feb, 2026High Frequency
Company question banks are included with the Insider plan.
Given the root of a binary tree, return the values of its boundary in anti-clockwise direction starting from the root.
The boundary includes: