ScratchData LogoScratchData
Back to SapoTheCreator's profile

Bubble Sort

SASapoTheCreator•Created March 18, 2024
Bubble Sort
0
0
2 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 compares adjacent pairs of elements and swaps them if the first element it is comparing is greater than the next.

Project Details

Project ID984403103
CreatedMarch 18, 2024
Last ModifiedMarch 21, 2024
SharedMarch 18, 2024
Visibilityvisible
CommentsAllowed