Cargomatic interview question

given a sorted array, print the elements whose sum is equal to n.

Cargomatic Interview Question: given a sorted array, print the elements whose sum is equal to n. | Glassdoor