Pregunta de entrevista de Entertainment Data Oracle

Writing a parser, designing a system, algorithms + time complexity