GGK Tech interview question

Patters , Matrix Probles