Pergunta de entrevista da empresa Medline Industries

Check if pair with given Sum exists in Array (Two Sum)