Vidyalelo
Data Structure · Q43

Dynamic Programming in Data Structures

Programming · Data Structure · question 43

Q43

What is the time complexity of the Dynamic Programming solution for the "Longest Palindromic Substring" problem?

A.
O(n log n)
B.
O(n)
C.
O(n2)
Answer
D.
O(log n)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board