Skip to content

Commit c8f7e2f

Browse files
committed
Merge branch 'patch-4' of https://github.com/jakwings/leetcode into jakwings-patch
2 parents 0f0fac9 + 072f548 commit c8f7e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/distinctSubsequences/distinctSubsequences.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int numDistinct1(string S, string T) {
9696
// For example:
9797
//
9898
// S = "abbbc" T="abb"
99-
// posMap = { [a]={0}, [b]={1,2} }
99+
// posMap = { [a]={0}, [b]={2,1} }
100100
// numOfSubSeq = {1, 0, 0, 0 }
101101
//
102102
// S[0] is 'a', pos is 0, numOfSubSeq = {1, 0+1, 0, 0};

0 commit comments

Comments
 (0)