Pregunta de entrevista de Google

String parsing leetcode easy, asked about big O