Returns a random shuffling of the array. :rtype: List[int]
(self)
| 52 | return self.nums |
| 53 | |
| 54 | def shuffle(self): |
| 55 | """ |
| 56 | Returns a random shuffling of the array. |
| 57 | :rtype: List[int] |
| 58 | """ |
| 59 | return random.sample(self.nums, len(self.nums)) |
| 60 | |
| 61 | |
| 62 |
nothing calls this directly
no outgoing calls
no test coverage detected