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 / ankita roy
sequential search of the elementss
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How are elements stored in hashset?
What do you mean by garbage collection?
Explain linked list in short.
How do you clear a stack?
What is doubly linked list in data structure?
Define parent node?
What are AVL trees?
Can you please explain the difference between string and an array?
What are the pre-requisite for the collection to perform binary search?
an array t[100] which contains numbers between 1..99. Return the duplicated value. Try both O(n) and O(n-square).
What is impact of signed numbers on the memory using data structures?
How do you declare An array of three pointers to chars
If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?
What does the dummy header in the linked list contain?
Define circular list?