BFS VS DFSSeptember 2, 2015 · 2 min readOverviewsearch algorithms for graphs and treesused for unordered graph and treegraph representationadjacent list: space O(V+E)adjacent matrix: space O(V^2)