Applied Intuition Interview Question

A message parsing question involving strings and basic data structures.