Leetcode #1424: Diagonal Traverse II
June 18, 2020
In a 2D matrix, elements in the same diagonal have same sum of their indices. So if we have all elements with same sum of their indices together, then it’s just a matter of printing those elements in order. … More Leetcode #1424: Diagonal Traverse II
