Amazon Interview Question

Max Average subtree Find element in 2d sorted matrix