86.4k views
3 votes
List all the steps used to search for 25 in the sequence given below. Use both (a) linear search and (b) binary search. 2, 7, 13, 18, 21, 24

List all the steps used to search for 25 in the sequence given below. Use both (a-example-1
User VGaur
by
5.2k points

1 Answer

3 votes

Answer:

13217182472

Step-by-step explanation:

liner search and binary search

User Sugarcane
by
5.1k points