/DataStructures-InsertionSort

Data structures implementations in JavaScript.

Primary LanguageJavaScript

DataStructures

Data structures implementations in JavaScript.

InsertionSort

A simple setup for insertionSort. It shows the time of excecutions needed for sorting an array, as well.

----script.js----

Consists of few functions:

  1. Random array - generates random array after user sets its size

  2. InsertionSort - sorts provided array in ASC or DESC order

  3. Reset, enableButtons, disableButtons are few helper functions for proper HTML setup in different cases

----index.html----

A simple HTML structure.

----style.css----

A simple style css.

----normalize.css----

It makes browsers render all elements more consistently and in line with modern standards.