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
Define threaded binary tree. Explain its common uses
Where will be the free node available while inserting a new node in a linked list?
How long does it take to master data structures and algorithms?
What are the tasks performed during postorder traversal?
What are the major data structures used in the following areas : network data model & hierarchical data model?
Does treeset remove duplicates?
What is the best complexity of bubble sort?
Is treeset sorted?
What does quick sort do?
Explain the priority queue?
Differentiate between set and map.
How does arraylist store data?
How can you insert a node in a random location of the linked list?
What do you know about the big-o notation and can you give some examples with respect to different data structures?
What is the difference between static and dynamic data?