0

A string is given, which should be the Longest Common Subsequence(LCS) between two Strings. You have to generate two random strings(with alphabets only) having the string as their LCS ?

Please help me out to solve this by providing any reference or any idea?

iamskab
  • 1
  • 2
  • What have you tried so far? If it didn't work, why didn't it work? What came out wrong? – rossum Jul 18 '20 at 09:37
  • OK, a hint. If you add "B" to the end of one copy of the LCS, what should you not add to the end of the other copy? – rossum Jul 19 '20 at 09:05

0 Answers0