2 ms·
The difference between Bogosort and Bozosort is where the check for sortedness occurs - in BogoSort, you permute the whole array (by swapping individual pairs)
by nostrademons 17y ago
The difference between Bogosort and Bozosort is where the check for sortedness occurs - in BogoSort, you permute the whole array (by swapping individual pairs) and then check to see if it's in order, in Bozosort you swap the pairs and then check to see if it's in order. Amichail didn't specify which one he wanted.