結果 : bfs dfs example with solution