We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24a320d + 5980dcb commit fc9d9eaCopy full SHA for fc9d9ea
cpp/953-Alien-Dictionary.cpp
@@ -18,7 +18,7 @@ class Solution {
18
19
// indegree make all char 0
20
for(auto word : words){
21
- for(auto c : st){
+ for(auto c : word){
22
indegree[c]=0;
23
}
24
0 commit comments