Two sum: Difference between revisions

(added ocaml)
(→‎{{header|OCaml}}: explanations)
Line 1,312:
Printf.printf "# Found: %d %d\n" i j
) res</lang>
 
Will return all possible sums, not just the first one found.
 
{{out}}