Johnson Controls Interview Question

Difference between BFS and DFS