← Length of Last Word
Discussions
Sign in to join the discussion.
Z
zoyamuk6
4 days, 1 hour ago
Simple approach explained for beginners.
Work with character counts or indices rather than building new strings in the loop; string concatenation inside loops is what usually causes TLE here.
💬 3 replies
A
arjundas
2 months, 2 weeks ago
Asked in my Google OA last week.
Work with character counts or indices rather than building new strings in the loop; string concatenation inside loops is what usually causes TLE here.
💬 2 replies
C
chegde
3 months ago
Asked in my CRED OA last week.
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