FactSet interview question

Some puzzle solving questions