Skip to content

Commit

Permalink
Add an alternative solution
Browse files Browse the repository at this point in the history
  • Loading branch information
yjc801 committed Sep 13, 2014
1 parent c6c18fc commit d31ded8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Distinct Subsequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def numDistinct(self, S, T):
return f[m]

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

0 comments on commit d31ded8

Please sign in to comment.