GATEverse Practice, past papers & mock tests
GATE 2014 · session-2
AlgorithmsDynamic ProgrammingmediumNAT2 marks
Consider two strings A="qpqrr" and B="pqprqrp". Let x be the length of the longest common subsequence (not necessarily contiguous) between A and B and let y be the number of such longest common subsequences between A and B. Then x+10y = __________.
Save your progress

Related Algorithms PYQs