Test case of SAMER08D — DNA Sequences (SPOJ Problem)

Revision en1, by bambhole11, 2020-04-22 18:23:26

I am trying to solve SAMER08D — DNA Sequences . For testcase a)IP=[k=2,X="uxdnvxvnb",Y="cjhdnhvwa"], MyOP=[3("dnv")],AcOP =[2];

i am not able to figure why 2 is correct ans?? can anyone please help??

MyCode AcCode

Tags #dp, #lcs, #spoj, #help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English bambhole11 2020-04-22 18:28:00 4 Tiny change: 'to figure why 2 is ' -> 'to figure out why 2 is '
en2 English bambhole11 2020-04-22 18:27:26 36
en1 English bambhole11 2020-04-22 18:23:26 418 Initial revision (published)