Computer Science, asked by anay62, 10 months ago

Give difference between linear search and binary search

If you don't know please don't answer​

Answers

Answered by Anonymous
11

Answer:

◆Linear search is an algorithm to find an element in a list by sequentially checking the elements of the list until finding the matching element.

◆Binary search is an algorithm that finds the position of a target value within a sorted array.

Thus, this is the main difference between linear search and binary search.

FOLLOW ME!!

#Sara❤️

MARK AS BRAINLIEST ✌️✌️✌️

Answered by tanishka12335
4

Answer:

mark me as brainliest

Explanation:

Linear search:It is a method of finding an element within a list

Binary search:It compares the target value to the middle element of the array

please follow me

mark me as brainliest ❤❤❤❤❤

Similar questions