Yahoo Interview Question

2 sum