Skip to content
RED SAG Skills
easy5 pts · first answer countsdynamic-programmingstringstabulation

Table size for a two-string DP

For LCS or edit distance on strings of lengths m and n, why is the table usually (m + 1) × (n + 1)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions