“…Also, there are a variety of ways to carry out the search, for example Depth-First (DFS), Breadth-First (BFS), Best-First, etc. While DFS is the most common, BFS actually has several advantages over DFS at the price of exponential space requirement (Nedunuri et al, 2012). BFS is one of the simplest algorithms for searching a tree or a graph and the archetype for many important graph algorithms (Cormen, 2009) (Horowitz et al, 1997).…”