emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ9] Extra credit: String length #201

Closed KaryFang closed 3 years ago

KaryFang commented 3 years ago

Replace # in the title with the appropriate quiz number. I found out that when running the dynamic and recursion LCS, the result is different when the length of the array is different. So I am wondering do we only need to consider the case when two string are of same length?

Also the last question on the report, I really could't think of a solution. Is there any hint?

KaryFang commented 3 years ago

I figured out the problem with my code, and now it handles string with different length.