From 6ca7ce73d3ce9fd599594945388173895c36db2e Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Mon, 19 Sep 2022 13:54:18 -0400 Subject: [PATCH] Time: 185 ms (5.25%), Space: 13.7 MB (46.34%) - LeetHub --- .../1929-concatenation-of-array.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 1929-concatenation-of-array/1929-concatenation-of-array.py diff --git a/1929-concatenation-of-array/1929-concatenation-of-array.py b/1929-concatenation-of-array/1929-concatenation-of-array.py new file mode 100644 index 0000000..1bc8860 --- /dev/null +++ b/1929-concatenation-of-array/1929-concatenation-of-array.py @@ -0,0 +1,9 @@ +class Solution(object): + def getConcatenation(self, nums): + """ + :type nums: List[int] + :rtype: List[int] + """ + ans = nums + ans += nums + return ans \ No newline at end of file