what is a complexity of linear search,binery search?

Answer Posted / naresh kumar

complexity of linear search 0
n binary search 0log(n)

Is This Answer Correct ?    14 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what is linear search?

514


Can treemap have duplicate values?

487


Does hashset guarantee order?

470


Is a list an array?

454


What is adt in data structure with example?

513






Is hashmap fail safe?

505


Which interface treemap implements?

555


What is a subtree?

530


What is the use of sorting?

512


What is difference between concurrenthashmap and hashtable?

421


How do you create a tree diagram?

488


Which programming language is best for data structures?

467


Describe the complexity of Binary search

547


Name few classes that implement collection interface?

533


Differentiate between hashmap and hashtable.

623