python-algorithm

Leetcode 1920

무적김두칠 2021. 7. 12. 13:10

1
2
3
4
5
6
class Solution:
    def buildArray(self, nums: List[int]) -> List[int]:
        tmp=[]
        for i in nums:
            tmp.append(nums[i])
        return tmp
cs
반응형