Given an m x n matrix mat, return an array of all the elements of the array in a diagonal order.
c++
1 | class Solution { |