Files
leetcode/1929-concatenation-of-array/1929-concatenation-of-array.py
T

9 lines
199 B
Python

class Solution(object):
def getConcatenation(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
ans = nums
ans += nums
return ans