Question d’entretien chez Microsoft

leetcode question about string and matrix