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
Describe tree database.
Treemap orders the elements on which field?
What is difference between capacity and size of arraylist?
Can we add duplicate keys in a hashmap?
What are the different types of hash functions?
Can we add or delete an element after assigning an array?
What are the classification of data structures?
What is the complexity of selection sort?
Can sets contain duplicates?
What is the use of sorting the data?
What is the purpose of sorting?
What do you mean by an Array?
Explain about map and their types?
What is map keyset?
Define depth and height of a node?