LeetCode: 2486-Append Characters to String to Make Subsequence 解題紀錄
題目
ou are given two strings s
and t
consisting of only lowercase English letters.
Return the minimum number of characters that need to be appended to the end of s
so that t
becomes a subsequence of s
.