Laserfiche Interview Question

Two-sum