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 / spandana
Binary search is faster
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Can arraylist store objects?
Design a datastructure to represent the movement of a knight on a chess board
Is quicksort divide and conquer?
Explain what are the major data structures used in the hierarchical data model?
do records fall under linear or non linear data structures?
What are the disadvantages of circular list?
How do you separate zeros from non-zeros in an array?
What are the operations that can be performed on a stack?
Define linked list data structure.
What is the application of queue?
What is the difference between length () and size () of arraylist?
State the different types of linked lists?
What do you mean by open addressing?
Why do we need linked lists?
Is hashmap ordered?