diff --git a/contents/bubble_sort/bubble_sort.md b/contents/bubble_sort/bubble_sort.md index 3a1bb7e9a..348819dc1 100644 --- a/contents/bubble_sort/bubble_sort.md +++ b/contents/bubble_sort/bubble_sort.md @@ -70,7 +70,7 @@ This means that we need to go through the vector $$\mathcal{O}(n^2)$$ times with [import:2-21, lang:"bash"](code/bash/bubble_sort.bash) {% sample lang="scratch" %}

- +

{% endmethod %} diff --git a/contents/bubble_sort/code/scratch/bubble_sort.png b/contents/bubble_sort/code/scratch/bubble_sort.png new file mode 100644 index 000000000..1460763d8 Binary files /dev/null and b/contents/bubble_sort/code/scratch/bubble_sort.png differ diff --git a/contents/bubble_sort/code/scratch/bubble_sort.svg b/contents/bubble_sort/code/scratch/bubble_sort.svg deleted file mode 100644 index a2e863558..000000000 --- a/contents/bubble_sort/code/scratch/bubble_sort.svg +++ /dev/null @@ -1 +0,0 @@ -defineBubbleSortdefineBubbleSortsetit1to1setit2to1repeatlengthofListrepeatlengthofList-1ifitemit2+1ofList<itemit2ofListthensettmptoitemit2ofListreplaceitemit2ofListwithitemit2+1ofListreplaceitemit2+1ofListwithtmpchangeit2by1setit2to1changeit1by1 \ No newline at end of file