compare_dfs
