1.

Which of the following methods can be used to solve the longest palindromic subsequence problem?(a) Dynamic programming(b) Recursion(c) Brute force(d) Dynamic programming, Recursion, Brute forceI got this question by my college director while I was bunking the class.I want to ask this question from Longest Palindromic Subsequence topic in chapter Dynamic Programming of Data Structures & Algorithms II

Answer»

Right option is (d) Dynamic programming, Recursion, Brute FORCE

Best explanation: Dynamic programming, Recursion, Brute force can be USED to solve the longest PALINDROMIC subsequence PROBLEM.



Discussion

No Comment Found

Related InterviewSolutions