Leetcode 2132. Stamping the Grid | Hello Interview