A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.
Now given an M x N matrix, return True if and only if the matrix is Toeplitz.
O(n)
O(n)
Run make to build and run C++ files and run Swift files. Or you can run .playground file.