what is a complexity of linear search,binery search?
Answer Posted / ankita dey
Linear Search-O(n)
Binary Search-O(log n)
| Is This Answer Correct ? | 48 Yes | 5 No |
Post New Answer View All Answers
What is complexity of quicksort?
Does treeset allow null values?
What is sort function?
What is hashing in cyber security?
What is the capacity of arraylist?
How would you implement two stacks using a single array?
Is array a collection?
Are linked lists useful?
What are some of the best practices relating to the java collection framework?
Define hash function?
Is hashset thread safe?
Difference between arraylist and linkedlist?
How do you explain bubble sort?
Explain the implementation of an AVL tree and Binary tree.
Does arraylist extend list?