Pregunta de entrevista de Collabera

Two sum algorithm problem with a sorted array