Pergunta de entrevista da empresa Bloomberg

Look at a messy data and give a solution, statistics questions, For Loops.