Monday, June 21, 2010

Sum to 0

Given three lists: A, B and C of length n each. Write a function which returns true if any 3 three numbers (1 from each list), sum up to zero. Else return false, if there is no such combination.

No comments:

Post a Comment