Skip to content

Commit a9f937d

Browse files
committed
https://leetcode.cn/problems/check-if-two-string-arrays-are-equivalent/
1 parent cef1a66 commit a9f937d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ Step 2. Add the dependency
4747

4848
https://leetcode.cn/problems/inorder-successor-in-bst-ii/
4949

50+
https://leetcode.cn/problems/check-if-two-string-arrays-are-equivalent/
51+
5052
https://leetcode.cn/problems/boundary-of-binary-tree/
5153

5254
https://leetcode.cn/problems/the-kth-factor-of-n/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default function arrayStringsAreEqual(
2+
word1: string[],
3+
word2: string[],
4+
): boolean {
5+
return word1.join("") === word2.join("");
6+
}

0 commit comments

Comments
 (0)