Which one is faster?
A binary search of an orderd set of elements in an array
or
a sequential search of the elements.
Answer Posted / suchita
binary search
Is This Answer Correct ? | 36 Yes | 1 No |
Post New Answer View All Answers
Why do we use insertion sort?
Is quicksort faster than merge sort?
What is an example of an array?
How to find the duplicate in an array?
Can we remove element from arraylist while iterating?
List the abstract operations in the set?
What method removes the value from the top of a stack?
What is a stable sorting algorithm?
List the data structures which are used in rdbms.
What is the difference between 1d and 2d array?
For addition and deletion. Which one is most preferred: array list or linked list?
What is time and space complexity of bubble sort?
What is the purpose of tochararray ()?
What is complete binary tree in data structure?
Tell me what should be done in the base case for this recursive problem?