What is a complexity of linear search, binery search?

Submitted by: Administrator
In linear search each element in the array should be checked
until the required element got searched whereas in binary
search array is divided into two and required element is
searched
Submitted by: Administrator

Read Online OS Data Structures Job Interview Questions And Answers