The solution for both DFS and BFS includes calls to g.getVertices() and g.getArray(). There does not appear to be a reference to these two methods in the Graph class implementation in the previous section. Am I missing something?
Thank you so much for pointing it out. We have fixed this issue.
If you have any other questions and concerns, feel free to ask. Happy learning!
Maida Ijaz | Developer Advocate