What it does

Sorts an array in ascending order.

How we built it

We used two loops. The outer for loop iterates from the second to the last element, the marker. The inner while loop tracks the element before the marker and puts it in the correct position in the array. The marker is also updated after the while loop ends.

Built With

Share this project:

Updates