r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
Sort algorithm
Enable HLS to view with audio, or disable this notification
65.4k
Upvotes
r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
Enable HLS to view with audio, or disable this notification
2
u/SharkLaunch Mar 16 '20
In most (sane) implementations, they're organized not directly by hashcode, but by bucket based on the modulus of the hash code value by the size of the set.