Schneider Electric interview question

Bfs, dfs, odd or even no. Programs