Two sum: Difference between revisions

m
Line 314:
 
====Returning all matches====
Listing multiple solutions (as zero-based indices) whenwhere they exist:
 
<lang haskell>sumTo :: Int -> [Int] -> [(Int, Int)]
9,659

edits