0

Program to search 71 in the following array 18 ,45,87,4,11,89,3,71,7,29 use binary search but first sort using bubble sort

binary search and bubble sort

19th Aug 2017, 6:47 PM
vanshika
1 ответ
+ 4
if your trying to search it in this particular array it's probably better to do it with your eyes :D I can't really help you cause I don't know c++(you can roast me now) but the standard way would be to use a for loop and match you number with array [i] hope this helps, a little bit^^
19th Aug 2017, 7:35 PM
Kamil
Kamil - avatar