Ingersoll Rand interview question

Bfs dfs compare and run