Walmart Interview Question

DSA on Arrays and Trees