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?
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?