FactSet interview question

Mathematical solving problems and 1 coding problem