NetApp Interview Question

Algo related to M*N matrix.