I was this question in a algorithm interview at Rubrik. Its a hard question. Don't know if it can be solved in a hour of interview if you are seeing for the first time.
https://leetcode.com/problems/stamping-the-grid/
Comments (1)
I was this question in a algorithm interview at Rubrik. Its a hard question. Don't know if it can be solved in a hour of interview if you are seeing for the first time.
https://leetcode.com/problems/stamping-the-grid/