Question d’entretien chez Deloitte

Matrix traversal question, had seen a variation on Leetcode