4 Sum
in Programming on Hash table, Hash, Interview, Python
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.
in Programming on Hash table, Hash, Interview, Python
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.
in Programming on Graph, Interview, Python
##Capture Regions on Board
in Programming on Array, Interview, Python
Print concentric rectangular pattern in a 2d matrix. Let us show you some examples to clarify what we mean.