Skip to content

Commit 68c807a

Browse files
authored
Create Check If Two String Arrays are Equivalent.py
1 parent 18a2c2a commit 68c807a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#1662. Check If Two String Arrays are Equivalent
2+
class Solution:
3+
def arrayStringsAreEqual(self, word1: List[str], word2: List[str]) -> bool:
4+
return "".join(word1)=="".join(word2)

0 commit comments

Comments
 (0)