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 / ibna
binary search
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of bubble sort?
What is a matrix?
What is the logic to reverse the array?
Which sorting is best?
Does treeset allow duplicates?
There are 2 int type array data type. One is containing 50 elements, and another one is containing 30 elements. Can we assign the array of 50 elements to an array of 30 elements?
Is array faster than arraylist?
What is numeric array?
Which is the parent class of hashmap class?
What are the tasks performed during preorder traversal?
Write the recursive c function to count the number of nodes present in a binary tree.
What are data members?
What is variable size arrays?and why we use it?
Define back edge?
How to get largest and smallest number in an array?