Implement sparse vector dot product and cosine similarity | Apple Interview Question