athenahealth interview question

Coding -Two sum problem ?