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