'Returns a random shuffling of the array.
:rtype: List[int]'

def shuffle(self):

    nums = list(self.__nums)
    for i in xrange(len(nums)):
        j = random.randint(i, (len(nums) - 1))
        (nums[i], nums[j]) = (nums[j], nums[i])
    return nums
