The Breadth First Search Graph traversal algorithm