Calculate the minhash for k-shingles in n sets.

k
Document 1
Document 2
Document 3
Document 4