Meta interview question

Dot product on sparse array