← Valid Palindrome
Discussions
Sign in to join the discussion.
A
akshara_23
1 month 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
3 months 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