what is a complexity of linear search,binery search?
Answer Posted / guest
in linear search each element in the array should be checked
until the required element got searched whereas in binary
search array is divided into two and required element is
searched
Is This Answer Correct ? | 28 Yes | 1 No |
Post New Answer View All Answers
Does treeset allow duplicates?
What is the minimum number of nodes that a binary tree can have?
How would you reverse characters of an array without using indexing in the array.
Explain about circular linked list?
Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?
What is height balanced tree?
Which is better hashmap or treemap?
Who invented merge sort?
Define the graph data structure?
What is max heapify?
Is python good for freshers?
What are the different types of data type?
What are AVL trees?
What is the easiest sorting method to use in data structures?
What are the properties of binary tree?