Question d’entretien chez Proshort

Problem no 17 and 142 in leetcode