Search
⌘K

Leetcode 766. Toeplitz Matrix

Check whether every top-left to bottom-right diagonal in an m x n matrix contains identical values (a Toeplitz matrix), returning true if all diagonals are constant and false otherwise. Follow-ups consider streaming/limited-memory scenarios where you can only load one row or part of a row at a time.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid September, 2025

Meta

Senior

Early August, 2025

Meta

Senior

Late March, 2025

Meta

Senior

Comments

Your account is free and you can post anonymously if you choose.