Published onDecember 1, 2021792 Number of matching subsequencesleetcodeleetcode-solutioncompetitive-programmingA subsequence of a string is a new string generated from the original string with some characters (can be none) deleted without changing the relative order of the remaining characters.