Longest common subsequence: Difference between revisions

m
(added ocaml)
Line 286:
Both solutions work. Example:
<pre>
# string_of_list (lcs (list_of_string "thisisatest") (list_of_string "testing123testing"));;
(list_of_string "testing123testing"));;
- : string = "tsitest"
</pre>