Pregunta de entrevista de Google

ask LC questions, about medium difficulty