Google interview question

explain dfs, bfs shortest path