Getting TLE in Question on Longest palindrome substring.

Revision en5, by _WATerror_AK, 2021-08-03 13:39:08

Can anyone help me out with my code to optimise this code.

Question Link-https://leetcode.com/problems/longest-palindromic-substring/

Submission Link-Submission

Tags # 2d dp, longest palindorme

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en7 English _WATerror_AK 2021-08-03 13:48:35 38 Tiny change: 'tcode.com/submissions/detail/532338690/)\n' -> 'tcode.com/playground/gWN5kxkZ)\n'
en6 English _WATerror_AK 2021-08-03 13:41:07 17
en5 English _WATerror_AK 2021-08-03 13:39:08 1141
en4 English _WATerror_AK 2021-08-03 13:37:20 80
en3 English _WATerror_AK 2021-08-03 13:34:06 274
en2 English _WATerror_AK 2021-08-03 13:32:10 220
en1 English _WATerror_AK 2021-08-03 13:30:42 1331 Initial revision (published)