Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Step 6

Jimmy

Feb 8, 2024

In step 6 of the example, you shouldn't enqueue vertex F since it was enqueued in step 4 and vertex F was already marked as visited.

1

0

Comments
Comments
Shubham Vora
Shubham Voraa year ago

Thanks for pointing out the error! it is fixed now!

On this page