what is a complexity of linear search,binery search?
Answer Posted / geetika sharma
No, Above answer is wrong. The complexity of Linear search
is O(n) and
Binary search is O(log n) at the base 2
| Is This Answer Correct ? | 212 Yes | 9 No |
Post New Answer View All Answers
Is hashmap ordered?
Draw a binary Tree for the expression : A * B - (C + D) * (P / Q)
What is difference between hashtable and hashmap?
Is array immutable?
What is a static structure?
How many times is merge sort called?
Does array sort mutate?
Why do we need to use computers to help us sort lists?
How can you correct these errors?
Which language is best for data structures?
Does arraylist contain duplicates?
Can we change load factor of hashmap?
What is the slowest sorting algorithm?
What is map data structure?
What is hashing technique?