Skip to content

Commit fc9d9ea

Browse files
authored
Merge pull request #1160 from elcabalero/patch-1
Solved compilation error
2 parents 24a320d + 5980dcb commit fc9d9ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/953-Alien-Dictionary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Solution {
1818

1919
// indegree make all char 0
2020
for(auto word : words){
21-
for(auto c : st){
21+
for(auto c : word){
2222
indegree[c]=0;
2323
}
2424
}

0 commit comments

Comments
 (0)