Pregunta de entrevista de Google

Programming questions about encoding and decoding