diff --git a/contents/bubble_sort/bubble_sort.md b/contents/bubble_sort/bubble_sort.md index 8b5b6b8e8..27071de4a 100644 --- a/contents/bubble_sort/bubble_sort.md +++ b/contents/bubble_sort/bubble_sort.md @@ -78,6 +78,8 @@ This means that we need to go through the vector $$\mathcal{O}(n^2)$$ times with [import:1-6, lang:"coffeescript"](code/coffeescript/bubblesort.coffee) {% sample lang="r" %} [import:1-12, lang:"r"](code/r/bubble_sort.R) +{% sample lang="coco" %} +[import:3-10, lang:"coconut"](code/coconut/bubblesort.coco) {% endmethod %} ... And that's it for the simplest bubble sort method. @@ -159,6 +161,8 @@ The code snippet was taken from this [Scratch project](https://scratch.mit.edu/p [import, lang:"coffeescript"](code/coffeescript/bubblesort.coffee) {% sample lang="r" %} [import, lang:"r"](code/r/bubble_sort.R) +{% sample lang="coco" %} +[import, lang:"coconut"](code/coconut/bubblesort.coco) {% endmethod %}