Amazon Interview Question: tree traversal without recurs... | Glassdoor