Pagini recente » Monitorul de evaluare | Diferente pentru problema/compunere intre reviziile 7 si 1 | Diferente pentru problema/permutare5 intre reviziile 4 si 5 | Diferente pentru problema/permutare5 intre reviziile 7 si 2 | Diferente pentru blog/square-root-trick intre reviziile 10 si 11
Nu exista diferente intre titluri.
Diferente intre continut:
Given two strings A (n characters) and B (m characters), find their longest common subsequence. (eg. The longest common sub sequence for abcabc and abcbcca is abcbc.)
There is a standard dynamic programming solution:
== code(c) |
best[i][j] = longest common sub sequence for A[0:i] and B[0:j], computed as below:
==
There is a standard dynamic programming solution which uses an array best[i][j] to mean the longest common sub sequence for A[0:i] and B[0:j], computed as below:
== code(c) |
if A[i] == B[j]:
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.