Skip to content

Tanya – Pine#41

Open
tt-ht wants to merge 1 commit intoAda-C16:masterfrom
tt-ht:master
Open

Tanya – Pine#41
tt-ht wants to merge 1 commit intoAda-C16:masterfrom
tt-ht:master

Conversation

@tt-ht
Copy link

@tt-ht tt-ht commented Jul 22, 2022

No description provided.

Copy link

@kyra-patton kyra-patton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😈 I've been leaving dog emojis, but this is the best I can do for a gargoyle. Nice work, Tanya. It looks like you've got a solid understanding of BFS. Let me know what questions you have.

🟢

Comment on lines +8 to +9
Time Complexity: O(n+e)
Space Complexity: O(n)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💫🦴

q = deque()
q.append(0)

while q:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😈 Very nice BFS implementation!

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