Anonymous user
Longest common subsequence: Difference between revisions
m
→Dynamic programming
(added ocaml) |
|||
Line 286:
Both solutions work. Example:
<pre>
# string_of_list (lcs (list_of_string "thisisatest")
(list_of_string "testing123testing"));;
- : string = "tsitest"
</pre>
|