Pregunta de entrevista de Rubrikk Group

Solving hypothetical programming algorithm for parsing string input