Pergunta de entrevista da empresa Saviynt

Matrix based python problem solving question of medium complexity