Sum of Two Integers
a guest Jul 22nd, 2011 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def findSums = (a:List[Int], b:List[Int], c:Int) => a.zip(b).filter(v => v._1 + v._2 == c)
RAW Paste Data