Question d’entretien chez Google

It is like a leetcode question