Skip to main content

2 docs tagged with "Hash Table"

View All Tags

Sum of the 4 (2)

Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero.