Vineti interview question

Working with 2D matrix while pair programming