Google interview question

LeetCode medium-level questions related to array and matrix. No dynamic programming or greedy algorithm is involved.