Pergunta de entrevista da empresa Affirm

Parse through a log represented as a list of strings