第28393题 单选题
给定字符串str1 = "abcbdab"和str2 = "bdcaba",二者的最长公共子序列的长度为?

最长公共子序列(LCS)是指在不改变字符相对顺序的前提下,从两个字符串中提取出的最长的公共子序列,子序列不需要连续。

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