2078 11

Data Structures and Algorithms20785 marksQuadratic probing collision resolution

Define hashing. Explain quadratic probing with example.

Define hashing. Explain quadratic probing with example. [5]

Hashing is a technique used to map a key to a specific location (index) in a hash table using a hash function. The hash function computes an index from the key, allowing for O(1) average-case time complexity for insertion, deletion, and search operations. Hash Function: $$h(k) = k \mod m$$ where ...

Up nextWhat is graph traversal? Explain breadth first search.