Question d’entretien chez Yahoo

Programming question, very similar to leetcode problems