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
Define a linear and non linear data structure.
What is a queue in data structure?
Is vector synchronized?
What is tree and its properties?
How do you declare A pointer to array of three chars
What is homogeneous array?
What is the default size of arraylist?
Why linked lists are better than arrays?
Define an algorithm.
What is time complexity of binary search?
Which sorting algorithm is best for large data?
Give the example of validating the parenthesis of expression using stack.
How many types of linked lists are there?
State the properties of a binary tree?
Why is quicksort unstable?