Pergunta de entrevista da empresa Accenture

Was given two cases - 1 long one and 1 shorter one