Oracle interview question

two sum algo using pointers