NetApp interview question

Leetcode problems was asked focusing on trees and arrays