Skip to content

Commit 15dbc0c

Browse files
authored
Update is-subsequence.cpp
1 parent 7b70c7b commit 15dbc0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

C++/is-subsequence.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Solution {
88
if (s.empty()) {
99
return true;
1010
}
11+
1112
int i = 0;
1213
for (const auto& c : t) {
1314
if (c == s[i]) {

0 commit comments

Comments
 (0)