First Derivatives interview question

the aptitude test.