Anaplan interview question

Populate data in n*n grid.