Indeed interview question

Leetcode questions. Related to tree traversal.