def compute_random_permutation(n): permutation = list(range(n)) random_sampling(n, permutation) return permutation
def compute_random_permutation(n): permutation = list(range(n)) random_sampling(n, permutation) return permutation
def compute_random_permutation(n): # TODO - you fill in here. a = list(range(n)) random_sampling(n, a) return a
def compute_random_permutation(n: int) -> List[int]: permutation = list(range(n)) random_sampling(n, permutation) return permutation
def compute_random_permutation(n: int) -> List[int]: # TODO - you fill in here. permutation = list(range(n)) random_sampling(n, permutation) return permutation
def compute_random_permutation(n): import offline_sampling permutation = list(range(n)) offline_sampling.random_sampling(n, permutation) return permutation