mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-13 14:57:08 +00:00
Time: 185 ms (5.25%), Space: 13.7 MB (46.34%) - LeetHub
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
class Solution(object):
|
||||||
|
def getConcatenation(self, nums):
|
||||||
|
"""
|
||||||
|
:type nums: List[int]
|
||||||
|
:rtype: List[int]
|
||||||
|
"""
|
||||||
|
ans = nums
|
||||||
|
ans += nums
|
||||||
|
return ans
|
||||||
Reference in New Issue
Block a user