Bubble sort
Hard๐ท๏ธ Sorting๐ Algorithmic Thinking
๐งฉ The problem
Sort SET NUMS = [5, 1, 4, 2, 8] into ascending order using bubble sort (don’t use SORT!), then DISPLAY NUMS.
Examples
Output: [1, 2, 4, 5, 8]
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.