Question: In the dynamic programming solution for the longest common subsequence, what does the dp[i][j] cell represent?
Options:
Correct Answer: Length of LCS for first i characters of string A and first j characters of string B
Solution:
The dp[i][j] cell in the longest common subsequence problem represents the length of the LCS for the first i characters of string A and the first j characters of string B.