method:
i am finding an element for each element of an arrya from binary search sucth that sum= money he has…
O(Nlon(N)) me ho raha he pura
Wrong answer for the question !..!
koi galti nhi h actually output format me thori galti h…
1
4
60 30 40 50
70
expected output 30 40
your output 40 30
phle jo index aya h usko print krwaw ac a jyega…
1
20
22 138 57 138 137 107 71 61 2 20 25 80 31 127 113 90 148 136 54 69
160
your code is printing 80 80… only one 80 is there
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.