Computer Science, asked by jasmehar, 1 year ago

give the difference between linear search and binary search.

Answers

Answered by abhishekvashispdhjwk
5
A linear search starts at the beginning of a list of values, and checks 1 by 1 in order for the result you are looking for. A binary search starts in the middle of a sorted array, and determines which side (if any) the value you are looking for is on.
Similar questions