Advertisement
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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement