Consider the strings “PQRSTPQRS” and “PRATPBRQRPS”. What is the length of the longest common subsequence?
(a) 9
(b) 8
(c) 7
(d) 6
This question was addressed to me in quiz.
My doubt stems from Longest Common Subsequence in section Dynamic Programming of Data Structures & Algorithms II