Pergunta de entrevista da empresa Homesite Group Incorporated

Given a sorted array of numbers and a target number, write a program that will return "true" or "-1" if two or more elements in the array add up to the target number.