Samsara interview question

Parse something