OS Data Structures Question:

Download Job Interview Questions and Answers PDF

What is a complexity of linear search, binery search?

OS Data Structures Interview Question
OS Data Structures Interview Question

Answer:

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

Download OS Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What are input function and output function in c language?What is AVL tree?