|
|
|
|
|
by b52_
290 days ago
|
|
What do you mean? Modulo is not a perfect hash function... What if your hash table had size 11 and you hash two keys of 22 and 33? I also don't understand your first point. We can run n^2 algorithms on massive inputs given its just a polynomial. Are you thinking of 2^n perhaps? |
|
Rockstar infamously wasted five minutes loading GTAV because they had an n^2 algorithm in the startup sequence.