Skip to main content
Fig. 1 | Algorithms for Molecular Biology

Fig. 1

From: Fast lightweight accurate xenograft sorting

Fig. 1

Illustration of (3,4) Cuckoo hashing with 3 hash functions and buckets of size 4. Left: Each key-value pair can be stored at one of up to 12 locations in 3 buckets. For key x, the bucket given by \(f_1(x)\) is full, so bucket \(f_2(x)\) is attempted, where a free slot is found. Right: If all hb slots are full, key x is placed into one of these slots at random (blue), and the currently present key-value pair is evicted and re-inserted into an alternative slot

Back to article page