athenahealth Interview Question

Coding -Two sum problem ?