Visa Inc. interview question

2d matrix question from leetcode