BubbleSort-final
Author: Abhay B. Joshi (abjoshi@yahoo.com) Instructions: 1. Click the “Green flag”: A sorted (in ascending order) array of numbers will be created. The bars displayed on the screen will be sorted accordingly. Set the "delay" slider appropriately. 2. Click the “Shuffle” button: the list will be shuffled. The bars displayed on the screen will be shuffled accordingly. 3. Click the “Sort” button: Start sorting the list. For each comparison the bars will be colored, for each swap the bars will be swapped. Notes: Sorting numbers is a classical problem in Computer Science which involves arranging a set of numbers in increasing or decreasing order. If you want to understand how I designed this program, please refer to my book: "Adventures in Snap Programming" available on Amazon.com
Created December 31, 2019
Last updated October 19, 2020
Published January 20, 2020