第28396题 单选题
使用动态规划求解字符串s1="abcde"和s2="ace"的最长公共子序列长度,结果为?

注:最长公共子序列(LCS)指两个字符串中保持相对顺序但无需连续的最长子序列,本题采用标准二维动态规划方法求解。

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析