Skip to content

Commit d31ded8

Browse files
committed
Add an alternative solution
1 parent c6c18fc commit d31ded8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Distinct Subsequences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def numDistinct(self, S, T):
1010
return f[m]
1111

1212
class Solution:
13-
''' The alternative solution is to use a 2D array.
13+
''' The original solution is to use a 2D array.
1414
'''
1515
def numDistinct(self, S, T):
1616
ways = [[0 for j in range(len(S) + 1)] for i in range(len(T) + 1)]

0 commit comments

Comments
 (0)