Eurofins interview question

2d matrix and some DS Algorithms