← Is Subsequence
Discussions
Sign in to join the discussion.
K
kmalhotra
OFFICIAL
1 month, 2 weeks ago
Clean C++ solution, beats most submissions.
Work with character counts or indices rather than building new strings in the loop; string concatenation inside loops is what usually causes TLE here.
💬 0 replies
S
srinivas_18
OFFICIAL
3 months ago
Clean Python solution, beats most submissions.
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
K
kavyanaidu
2 weeks, 6 days 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.
💬 3 replies