June 2020
Intermediate to advanced
382 pages
11h 39m
English
We will use two data structures:
visited: This contains all the vertices that have been visited. Initially, it will be empty.
queue: This contains all the vertices that we have want to visit in next iterations.