How do you decide between BFS and DFS - and how do you recognise a graph problem that nobody described as a graph?
Choose BFS when the question asks for the fewest steps in an unweighted graph or when you need results in distance order; choose DFS when you are asking a structural question such as connectivity, cycles or topological order, or when the graph is deep and narrow.