Amazon Interview Question

How to implement tree using dfs algorithm