Breadth First Search is one of those top 10 algorithms to know for an interview. Here it is in javascript. This code works if you're using an adjacency list to represent your graph.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)