Check If Two String Arrays are Equivalent LeetCode solution in Python

1
class Solution:
2
def arrayStringsAreEqual(self, word1: List[str], word2: List[str]) -> bool:
3
return True if "".join(word1) == "".join(word2) else False

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0