ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following lines completes the above code?
Correct Answer: A — strrev(str2)
To find the longest palindromic subsequence, we need to reverse the copy of the string, which is done by strrev.