Domanda di colloquio di Tripadvisor

What are DFS and BFS algorithms?