FactSet Interview Question

Q: Variation of Two Sum