@jswork/next-bubble-sort

Bubble sort for next.

Usage no npm install needed!

<script type="module">
  import jsworkNextBubbleSort from 'https://cdn.skypack.dev/@jswork/next-bubble-sort';
</script>

README

next-bubble-sort

Bubble sort for next.

version license size download

installation

npm install -S @jswork/next-bubble-sort

usage

import '@jswork/next-bubble-sort';

nx.bubbleSort([3, 44, 38, 5, 47, 15, 36, 26, 27, 2, 46, 4, 19, 50, 48]);

// [ 2,  3,  4,  5, 15, 19, 26, 27, 36, 38, 44, 46, 47, 48, 50 ]

license

Code released under the MIT license.