https://leetcode.com/problems/shuffle-an-array


Runtime: 300 ms, faster than 65.76% of Python3 online submissions for Shuffle an Array.
Memory Usage: 19.4 MB, less than 39.36% of Python3 online submissions for Shuffle an Array.


```python
import random

class Solution:

    def init(self, nums: List[int]):
        #6:53
        self.origin = nums
        #6:55
        

    def reset(self) -> List[int]:
        """
        Resets the array to its original configuration and return it.
        """
        return self.origin
        

    def shuffle(self) -> List[int]:
        """
        Returns a random shuffling of the array.
        """
        return random.sample(self.origin, len(self.origin))
```
