Question d’entretien chez Google

String parsing leetcode easy, asked about big O