Graph Search
Jump to navigation
Jump to search
Internal
Overview
Both breadth-first search and depth-first search algorithms are very efficient, in that they walk the entire graph in linear time of the number of vertices and edges O(n + m).