← Valid Palindrome
Discussions
Sign in to join the discussion.
A
akshara_23
2 months, 2 weeks ago
Intuition + complexity breakdown for Valid Palindrome.
Work with character counts or indices rather than building new strings in the loop; string concatenation inside loops is what usually causes TLE here.
💬 1 reply
R
rohitchowdary
4 months, 2 weeks ago
Finally got AC after 3 WAs. Sharing what I missed.
Work with character counts or indices rather than building new strings in the loop; string concatenation inside loops is what usually causes TLE here.
💬 1 reply