We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8744f18 commit 3b0f512Copy full SHA for 3b0f512
Python/dot-product-of-two-sparse-vectors.py
@@ -9,7 +9,6 @@ def __init__(self, nums):
9
"""
10
self.lookup = {i:v for i, v in enumerate(nums) if v}
11
12
- # Return the dotProduct of two sparse vectors
13
def dotProduct(self, vec):
14
15
:type vec: 'SparseVector'
0 commit comments