IBM Interview Question

Two Sum Algorithm