ScratchData LogoScratchData
Back to 77Tigers_Test's profile

6??

7777Tigers_Test•Created February 23, 2018
6??
12
4
179 views
View on Scratch

Instructions

CHALLENGE: - Sort a given list of unique numbers with the least number of blocks. - Your algorithm has to work with list lengths 2, 5, and 10 (any length is allowed for testing it though). RULES: - For this version of codegolf, a block is anything that can be pulled out of a script. See the example inside. - In this case, a list is sorted if each item value is equal to its index. - If you want to check if the list is sorted, you will have to include that in the scripts. - Custom blocks are allowed. - Recursion is allowed. - Extensions are not allowed. - Exploiting glitches is allowed (or, in this case, exploiting features in Scratch that would throw error messages in other languages). - Each value must be preserved and remain unique (as in, after any operation such as swapping or inserting, each value must be present once and only once in the list) within the Numbers list.

Description

6. Use turbo. It may take a while with 10.

Project Details

Project ID205772189
CreatedFebruary 23, 2018
Last ModifiedFebruary 23, 2018
SharedFebruary 23, 2018
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root