Nokia interview question

Difference between BFS and DFS