2080 10

BIT201 ยท 2080 ยท 5 marks

Why do we need hashing? Explain quadratic probing.

Why do we need hashing? Explain quadratic probing. [5]

Data Structures and AlgorithmsChapter 7: Searching and HashingQuadratic probing collision resolution

In many applications, we need to search, insert, and delete data efficiently. Traditional data structures have the following limitations: Structure Search Time ------ Unsorted Array O(n) Sorted Array (Binary Search) O(log n) BST (balanced) O(log n) Hashing provides a way to achieve O(1) average t...