Pergunta de entrevista da empresa General System (UK)

A typical programming exercise scanning and splitting strings.