reduced filesize of sort_scale GIFs
This commit is contained in:
parent
b6b3929ecd
commit
7cc50ea1d2
19
README.md
19
README.md
@ -91,8 +91,7 @@ In essence, each item “bubbles” up to the location where it belongs.
|
||||
|
||||
| <a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/bubble_sort_scale.py" target="_blank">bubble_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/bubble_sort_color.py" target="_blank">bubble_sort_color.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_circle/bubble_sort_circle.py" target="_blank">bubble_sort_circle.py</a>|
|
||||
| ------------- |-------------|-------------|
|
||||
| ||<img src="./img/bubble_circle.gif">|
|
||||
|
||||
|||<img src="./img/bubble_circle.gif">|
|
||||
|
||||
## Insertion Sort
|
||||
|
||||
@ -108,7 +107,7 @@ then the values from the unsorted parts are picked and placed at the correct pos
|
||||
|
||||
| <a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/insertion_sort_scale.py" target="_blank">insertion_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/insertion_sort_color.py" target="_blank">insertion_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|||
|
||||
|
||||
## Selection Sort
|
||||
|
||||
@ -121,7 +120,7 @@ The selection sort algorithm sorts an array by repeatedly finding the minimum el
|
||||
|
||||
|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/selection_sort_scale.py" target="_blank">selection_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/selection_sort_color.py" target="_blank">selection_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|||
|
||||
|
||||
## Heap Sort
|
||||
|
||||
@ -137,9 +136,8 @@ Heap sort basically recursively performs two main operations:
|
||||
|
||||
|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/heap_sort_scale.py" target="_blank">heap_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/heap_sort_color.py" target="_blank">heap_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|||
|
||||
|
||||
|
||||
## Shell Sort
|
||||
<p>
|
||||
The shell sort algorithm extends the insertion sort algorithm and is very efficient in sorting widely unsorted arrays.<br>
|
||||
@ -156,7 +154,7 @@ This sorting technique works by sorting elements in pairs, far away from each ot
|
||||
|
||||
|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/shell_sort_scale.py" target="_blank">shell_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/shell_sort_color.py" target="_blank">shell_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|||
|
||||
|
||||
## Merge Sort
|
||||
|
||||
@ -168,10 +166,9 @@ The sub-lists are divided again and again into halves until the list cannot be d
|
||||
Then we combine the pair of one element lists into two-element lists, sorting them in the process.<br>
|
||||
The sorted two-element pairs is merged into the four-element lists, and so on until we get the sorted list.
|
||||
|
||||
|
||||
| <a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/merge_sort_scale.py" target="_blank">merge_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/merge_sort_color.py" target="_blank">merge_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|||
|
||||
|
||||
## Quick Sort
|
||||
|
||||
@ -189,8 +186,8 @@ All this should be done in linear time.
|
||||
|
||||
| <a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_scale/quick_sort_scale.py" target="_blank">quick_sort_scale.py</a>|<a href="https://github.com/ForeignGods/Sorting-Algorithms-Blender/blob/main/sort_color/quick_sort_color.py" target="_blank">quick_sort_color.py</a>|
|
||||
| ------------- |:-------------:|
|
||||
|||
|
||||
|
||||
|||
|
||||
|
||||
Big O
|
||||
=====
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user