TODO: 545. Boundary of Binary Tree

Problem

Intuition

Time Complexity

O(N)

In worst case, we might need to explore all the nodes

Space Complexity

O(1)

Auxiliary space complexity

Solution

Last updated