what is a complexity of linear search,binery search?
Answer Posted / guest
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
| Is This Answer Correct ? | 28 Yes | 1 No |
Post New Answer View All Answers
We know that Arrays are objects so why cannot we write strArray.length()?
How long does it take to master data structures and algorithms?
What is meant by deque?
What is return map?
What are scalar values?
Is a list an array?
List all data structures you would use for a memory management module.
What is structure of data type?
What is dynamic array in excel?
Can arraylist hold different types?
Explain the types of linked lists.
Which algorithm is used in collections sort method?
Is heap sort adaptive?
What is a multidimensional array?
What data type is enum?