Domanda di colloquio di MITRE

How do DFS and BFS work and how do they differ?