Validate that each row and column of a square matrix is a permutation of 1 to n
Company: Instacart
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Return whether a square integer matrix has every row and every column holding all of the numbers from 1 to n. It tests building the expected set of values, scanning columns as carefully as rows, and stating the time and space cost of a grid check.