Amazon Interview Question

two sum of a consecutive array