Amazon interview question

A variation of the Sorted Two Sum Problem