Skip to content

BFS-1 completed#1618

Open
sujaygijre wants to merge 2 commits intosuper30admin:masterfrom
sujaygijre:master
Open

BFS-1 completed#1618
sujaygijre wants to merge 2 commits intosuper30admin:masterfrom
sujaygijre:master

Conversation

@sujaygijre
Copy link
Copy Markdown

No description provided.

@super30admin
Copy link
Copy Markdown
Owner

Your solution is well-written and efficient. You have correctly implemented the level order traversal using a queue. The code is clear and concise. One minor suggestion: you could use a for loop instead of a while loop with decrement for the inner loop to make it more explicit, but the current way is also acceptable. Great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants