Ask Question

What is the mid-square method?

+2
Answers (1)
  1. 5 December, 04:20
    0
    Mid-Square Method:-In this method some it takes some digits from the square of a number. This number is a random number. This number can be used as a key for hashing.

    This technique is mostly used in hashing so decrease the collision in hash maps.

    This method has a limitation that when we square a large number it may go out of range of integer so we have handle those cases.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the mid-square method? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers