Question

The quantum version of this algorithm requires destroying universes in which a list is unsorted. For 10 points each:
[10m] Name this purposefully awful sorting algorithm that either randomizes the order of a list until it is sorted or runs through the list of possible permutations.
ANSWER: bogosort [or quantum bogosort]
[10e] The deterministic worst-case scenario is having to check every single permutation, meaning bogosort is big-O of n times this function of n, which gives the number of permutations of n distinct objects.
ANSWER: factorial
[10h] The best-case scenario is having the first randomization be the sorted list, meaning that bogosort is big-[this letter] of n to account for the shuffling and checking process. This Greek letter represents the lower-bound time complexity of an algorithm.
ANSWER: omega [or big-omega]
<Lalit Maharjan , Science - Compsci>

Back to bonuses

Summary

2023 NASAT06/17/2023Y923.33100%78%56%

Data

Asia BArkansas10101030
Illinois BlueCalifornia1010020
Illinois WhiteAsia A1010020
OhioKentucky A010010
New Jersey BMaryland Gold0101020
Maryland RedMissouri A10101030
Missouri BVirginia10101030
Illinois OrangeNew Jersey A1010020
PennyslvaniaKentucky B10101030