Pregunta de entrevista de SAP

Explain breadth first search and depth first search with an example