Managed by Q interview question

Largest sequence in 2D array