3 ms·
You use a prime to be able to reach all slots in open addressing if you use a linear probe bigger than 1. Can't think of any other reason.
by tybris 17y ago
You use a prime to be able to reach all slots in open addressing if you use a linear probe bigger than 1. Can't think of any other reason.