-->
当前位置:首页 > 题库

PROGRAMMING:Longest common subsequence length

Luz5年前 (2021-05-10)题库401
Find the longest common subsequence length of two strings.
###Input format:
Enter two strings of length ≤ 100.
###Output format:
Outputs the longest common subsequence length of two strings.
###Input sample 1:
```in
ABCBDAB
BDCABA
```
###Output sample 1:
```out
four
```
###Input sample 2:
```in
ABACDEF
PGHIK
```
###Output sample 2:
```out
0
```






answer:If there is no answer, please comment