Pregunta de entrevista de PharmEasy

Matrix based question ( leetcode medium )