Oracle Interview Question

two sum algo using pointers