Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2014 Set 2
Questions

Q37

NAT2 marksAlgorithmsMedium

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.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.