Pergunta de entrevista da empresa Applied Intuition

A message parsing question involving strings and basic data structures.