From 78c4613d519026d56b2d95120c3b802f5cd9bca2 Mon Sep 17 00:00:00 2001 From: Ben Burlingham Date: Tue, 3 May 2016 19:55:05 -0700 Subject: [PATCH] Minor debugs, adding hr elements. --- index.html | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 46001b2..66592a7 100644 --- a/index.html +++ b/index.html @@ -2,28 +2,28 @@ - D3 + Sort Algorithm Walkthroughs

Sort algorithm walkthroughs

-

Using D3 to animate sort algorithms

+
+

Here are visualizations of common sorting algorithms. Use the comparisons counter and number of items to observe the performance of each randomized case. +

-

- +

All source data is shuffled using the Fisher-Yates algorithm. +

-

- +

There's a fun clip about the sounds of sorting here. - -

+

Quick sort discussion

@@ -60,6 +60,8 @@ data-worst-memory='0' > +
+

Merge sort discussion

Source Code @@ -95,6 +97,8 @@ data-worst-memory='O (n)' > +
+

Selection sort discussion

Source Code @@ -128,6 +132,8 @@ data-worst-memory='0'> +
+

Insertion sort discussion

Source Code @@ -159,6 +165,8 @@ data-worst-memory='0' > +
+

Shellsort discussion

Source Code @@ -196,6 +204,8 @@ data-worst-memory='n' > +
+

Bubble sort discussion

Source Code @@ -290,4 +300,3 @@ -O (n)