SHARE
TWEET

Sum of Two Integers

a guest Jul 22nd, 2011 78 Never
  1.  def findSums = (a:List[Int], b:List[Int], c:Int) => a.zip(b).filter(v => v._1 + v._2 == c)
RAW Paste Data
Top