Implement DFS and tree algorithms | Amazon Interview Question