[leetcode]115. Distinct Subsequences

-題目連接:[https://leetcode.com/problems/distinct-subsequences] - 題意:給定字符串S和T, 求S中有多少個不一樣子序列(subsequence)等於T。web 注:子序列(subsequence)不一樣於子串(substring),子串必須相鄰,子序列沒必要相鄰。e.g.」ACE」 is a subsequence of 「ABCDE」 w
相關文章
相關標籤/搜索