Question d’entretien chez Google

Technical: the solution, walking through it and expected runtime