Skip to content

Commit 7466954

Browse files
committed
Runtime: 4 ms (Top 91.36%) | Memory: 7.1 MB (Top 46.74%)
1 parent 59a8318 commit 7466954

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/algorithms/I/Isomorphic Strings/Isomorphic Strings.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 4 ms (Top 91.36%) | Memory: 7.1 MB (Top 46.74%)
12
class Solution {
23
public:
34
bool isIsomorphic(string s, string t) {
@@ -12,11 +13,11 @@ class Solution {
1213
}
1314
else{
1415
if(mp[s[i]]!=t[i]) return false;
15-
16+
1617
}
17-
18+
1819
}
1920
return true;
20-
21+
2122
}
22-
};
23+
};

0 commit comments

Comments
 (0)