Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#24 Tree Width with Level Width #27

Open
somekindofwallflower opened this issue Jun 14, 2022 · 0 comments
Open

#24 Tree Width with Level Width #27

somekindofwallflower opened this issue Jun 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@somekindofwallflower
Copy link
Owner

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]

@somekindofwallflower somekindofwallflower added the enhancement New feature or request label Jun 14, 2022
@somekindofwallflower somekindofwallflower self-assigned this Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant