a) What is the difference between binary search and linear search? (3 marks) b) Given the following list: 100,80,10,6,76
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
a) What is the difference between binary search and linear search? (3 marks) b) Given the following list: 100,80,10,6,76
a) What is the difference between binary search and linear search? (3 marks) b) Given the following list: 100,80,10,6,76,53,25,22,41,35,29 Use the following binary search program to search item no 27 . Show the values of first, last, mid and the number of comparisons for each iteration. (7 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!