From 7964273ee89775c2ed562c327a11cf2cba898055 Mon Sep 17 00:00:00 2001 From: Manuel Pineda Date: Fri, 8 Jan 2021 14:28:29 +0100 Subject: [PATCH] [LeetCode] Add day's 8 challenge. --- solved/LeetCode/Challenges/2020/January/08.kt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 solved/LeetCode/Challenges/2020/January/08.kt diff --git a/solved/LeetCode/Challenges/2020/January/08.kt b/solved/LeetCode/Challenges/2020/January/08.kt new file mode 100644 index 00000000..150ba3f7 --- /dev/null +++ b/solved/LeetCode/Challenges/2020/January/08.kt @@ -0,0 +1,5 @@ +class Solution { + fun arrayStringsAreEqual(a: Array, b: Array): Boolean { + return a.joinToString(separator="") == b.joinToString(separator="") + } +}