When two elements map to the same slot in the hash table, it is called ______.
The time taken by different hash functions may be ____________.
1 Crore+ students have signed up on EduRev. Have you? Download the App |
Which of the following searches a hash table extremely fast just to find the hash value for the item that you're looking for, then goes to that index and starts searching the array until you find what you are looking for or you hit a blank spot?
A __________ search begins the search with the first array element.
A phone number directory is set up using
A. an unordered array by randomly throwing numbers at vacant locations in the array
B. A sorted array by keeping the entries based on ascending order of phone numbers.
Q. Which of the given statements holds true?
Assume optimal search operations are available using binary search.
In a hierarchical database, a hashing function is used to locate the