tree+dfs

tree+dfs