0

Find a element in an array of size 'n' in not more than n/2 operations using linear search algorithm

Can anyone help me with this?

26th Mar 2020, 10:55 AM
Manan Bedi
Manan Bedi - avatar
1 ответ
+ 2
https://www.gatevidyalay.com/linear-search-searching-algorithms/. With linear search algorithm you need up to n operations. You can only achieve less operations if not using linear search
29th Mar 2020, 2:47 PM
Alexander Thiem
Alexander Thiem - avatar