-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Assignees
@somekindofwallflower
Description
Description
Given the root node of a tree, return
an array where each element is the width
of the tree at each level.
Example
Given:
0
/ |
1 2 3
| |
4 5
Answer: [1, 3, 2]