diff --git a/205. Isomorphic Strings b/205. Isomorphic Strings new file mode 100644 index 0000000..c32631c --- /dev/null +++ b/205. Isomorphic Strings @@ -0,0 +1,21 @@ +class Solution { +public: + bool isIsomorphic(string s, string t) { + vector map1(128, 0); // Stores frequency of s + vector map2(128, 0); // Stores frequency of t + + for(int i=0; i