ScratchData LogoScratchData
Back to SapoTheCreator's profile

SapoTheCreator's Bubble Bogo Sort

SASapoTheCreator•Created March 21, 2024
SapoTheCreator's Bubble Bogo Sort
0
0
3 views
View on Scratch

Instructions

Press Space to generate the array. Press S to sort it. You can set how many elements you want in the array before pressing Space. Turn sound on or off by pressing A. If that doesn't work, try double-pressing A. (NOTE: Turning audio on might slow down the algorithm a little bit. Also, use Turbo Mode on this project by holding Shift and clicking the flag.)

Description

This sorting algorithm scans the array to make sure all elements are sorted. If not, it picks two elements by random and if the first is greater than the next, it only swaps them then. This sort is an impractical sort, so it will take a short while (Probably up to 539 seconds). When you press Space, Type 1 for Shuffled (100%), 2 for Reversed Input, and 3 for Shuffled (25%)

Project Details

Project ID987034877
CreatedMarch 21, 2024
Last ModifiedMarch 21, 2024
SharedMarch 21, 2024
Visibilityvisible
CommentsAllowed