Skip to content

Instantly share code, notes, and snippets.

@praveeng1618
Created January 15, 2024 06:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save praveeng1618/ec1d5e0cf468f8898f978593d77ccf35 to your computer and use it in GitHub Desktop.
Save praveeng1618/ec1d5e0cf468f8898f978593d77ccf35 to your computer and use it in GitHub Desktop.
1929. Concatenation of Array Leetcode
class Solution:
def getConcatenation(self, nums: List[int]) -> List[int]:
for i in range(len(nums)):
nums.append(nums[i])
return nums
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment