How locality-sensitive hashing puts similar items into the same buckets, and why it is a classic tool for near-duplicate detection at scale.