ScratchData LogoScratchData
Back to SapoTheCreator's profile

STC's Merge Swap Sort

SASapoTheCreator•Created March 29, 2024
STC's Merge Swap Sort
0
0
4 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 also checks to see if the first element it is comparing with is greater than the other and swaps them if so. When you press Space, Type 1 for Shuffled (100%), 2 for Reversed Input, and 3 for Shuffled (25%)

Project Details

Project ID992035687
CreatedMarch 29, 2024
Last ModifiedMarch 29, 2024
SharedMarch 29, 2024
Visibilityvisible
CommentsAllowed