Developerhelpway Q&A - Recent questions tagged find-pairs
https://www.developerhelpway.com/forum/tag/find-pairs
Powered by Question2AnswerGiven a sorted array and a number x, find the pair in array whose sum is x
https://www.developerhelpway.com/forum/4455/given-a-sorted-array-and-a-number-x-find-the-pair-in-array-whose-sum-is-x
Given a sorted array and a number x, find the pair in array whose sum is x.<br />
<br />
int arr[] = {5,6,7,8,10,20,30,40};<br />
int sum = 28;Data Structure And Algorithmhttps://www.developerhelpway.com/forum/4455/given-a-sorted-array-and-a-number-x-find-the-pair-in-array-whose-sum-is-xFri, 20 Mar 2020 10:45:10 +0000