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 / guest
A Binary search of an ordered set of elemaents in an array
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which is the simplest file structure? (a) Sequential (b) Indexed (c) Random (a) Sequential
When is a binary search best applied?
Define collision in hashing?
Define a linear and non linear data structure.
Write an algorithm that counts number of nodes in the circular linked list
An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.
In depth questions regarding the data structures and the Databases used in the Projects developed.
What differences exist between hashmap and hashtable?
How do you find the length of an arraylist?
Give a good data structure for having n queues ( n not fixed) in a finite memory segment. You can have some data-structure separate for each queue. Try to use at least 90% of the memory space.
How much time does it take to learn data structures?
What is Jagged Arrays?
What is difference between an Array and ArrayList?
What is arraylist load factor?
Check if duplicates exist in an array of N which has range 1 to N.