Programming on whiteboard: Efficiently compute the inner product of two sparse vectors.
Sigiloso
Use a hash map for the vectors and then traverse the the hashmap with the fewest number of nonzero entries whilst performing matching lookups on the other array.