Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are different methods of collision resolution in hashing.



What are different methods of collision resolution in hashing...

Answer / Sandeep Kumar Chauhan

1. Chaining: Each hash value corresponds to a linked list, and if a collision occurs, the new element is added to the corresponding linked list.n2. Open Addressing: If a collision occurs, we probe the consecutive positions until an empty slot is found.n a. Linear Probing:n - Increment the index by 1 for each probe.n b. Quadratic Probing:n - Increment the index by i^2, where i = 0, 1, 2, ...n c. Double Hashing:n - Use a second hash function to find empty slots when collisions occur.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Which sorting is used in collections sort?

1 Answers  


List the applications of stacks?

1 Answers  


What is collection sort?

1 Answers  


What is time complexity of arrays sort?

1 Answers  


Can we add or delete an element after assigning an array?

1 Answers  


What is binary tree used for?

1 Answers  


What are the different data structures?

1 Answers  


Why you need a data structure?

1 Answers  


What is meant by heap sort?

1 Answers  


What are different types of sorting techniques?

1 Answers  


Tell me can the size of operator be used to tell the size of an array passed to a function?

1 Answers  


Which process places data at the back of the queue?

1 Answers  


Categories