Sorting Algorithms Lab

Medium
30.8% Acceptance

In this lab, you will be implementing four different sorting algorithms in JavaScript: Bubble sort, Selection sort, Insertion sort, and Merge sort. These sorting algorithms have various time complexities, and you'll see how each one works at a high level as you implement them.

You'll be working with an array of numbers, and each sorting algorithm function should return a new array with the numbers sorted in increasing order.