GATEverse
← GATE CSE 2014 Set 2

Q37

NAT2 marks

Consider two strings AA = "qpqrr" and BB = "pqprqrp". Let xx be the length of the longest common subsequence (not necessarily contiguous) between AA and BB and let yy be the number of such longest common subsequences between AA and BB. Then x+10y=x +10y= ___.

Sign in to save attempts.

Loading…