Skip to content

Commit fa49b4a

Browse files
authored
Update Solution.py
1 parent 367b2c4 commit fa49b4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Algorithms/Easy/242_ValidAnagram/Solution.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ def isAnagram(self, s: str, t: str) -> bool:
55

66
count_t = {}
77
count_s = {}
8+
89
for i in range(len(t)):
910
count_t[t[i]] = count_t.get(t[i], 0) + 1
1011
count_s[s[i]] = count_s.get(s[i], 0) + 1

0 commit comments

Comments
 (0)