Walmart interview question

Tree/Graph/Array data structure questions. Leetcode medium standard.