Domanda di colloquio di SAP

Explain breadth first search and depth first search with an example