filmov
tv
115. Distinct Subsequences (Dynamic Programming, Recursion with Memoization) - LeetCode

Показать описание
Given two strings s and t, return the number of distinct subsequences of s which equals t.
The test cases are generated so that the answer fits on a 32-bit signed integer.
The test cases are generated so that the answer fits on a 32-bit signed integer.