Skip to content

Commit

Permalink
Create 1929-concatenation-of-array.py
Browse files Browse the repository at this point in the history
  • Loading branch information
neetcode-gh authored Feb 18, 2023
1 parent 57f4ad2 commit 17d4b2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/1929-concatenation-of-array.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class Solution:
def getConcatenation(self, nums: List[int]) -> List[int]:
ans = []
for i in range(2):
for n in nums:
ans.append(n)
return ans

0 comments on commit 17d4b2d

Please sign in to comment.