Question d’entretien chez Google

The first question is string manipulation. The second is graph.