LeetCode

Toeplitz Matrix

Click here for an explanation.