what is a complexity of linear search,binery search?
Answer Posted / hemant belwal
linear search=n/2
binary search=iog2n,2 in the base of log.
| Is This Answer Correct ? | 36 Yes | 91 No |
Post New Answer View All Answers
what is a balanced tree.
What do you know about traversal in linked lists?
What are the goals of data structure?
Is hashtable fail fast?
What do you mean by overflow and underflow?
Can you tell me the differences between Array and ArrayList?
Explain binary search tree?
How many links are there in a binary tree of N nodes?
Which is better merge or quick sort?
How to check array contains value or not?
Difference between arraylist and linkedlist?
Differentiate stack from array?
What is doubly linked list in data structure?
Define leaves?
Write the steps involved in the insertion and deletion of an element in the stack.