Collabera Interview Question

Two sum algorithm problem with a sorted array