Question d’entretien chez Google

design question and leetcode question