summaryrefslogtreecommitdiff
path: root/reverse-bubble-sort.py
diff options
context:
space:
mode:
authorinternetlandlord <f.fredhenry@gmail.com>2022-11-02 17:53:23 -0500
committerinternetlandlord <f.fredhenry@gmail.com>2022-11-02 17:53:23 -0500
commitcb887cc85943b96172a935f4dac3828c1e087a1d (patch)
treed68b1de285a64c038e5eb6e36b16ae7f06b67df8 /reverse-bubble-sort.py
parent6c7a50854c73575d53e93a584d6d9848493adda3 (diff)
reverse bubble sort and insertion sort now working
Diffstat (limited to 'reverse-bubble-sort.py')
-rwxr-xr-xreverse-bubble-sort.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/reverse-bubble-sort.py b/reverse-bubble-sort.py
index 109ab52..a13f4cb 100755
--- a/reverse-bubble-sort.py
+++ b/reverse-bubble-sort.py
@@ -1,10 +1,9 @@
#!/bin/python3
# ---------- REVERSE Bubble Sort Algorithm
-# Python implementation of bubble sort algorithm
-# uses the csv, and inputoutput modules to import
-# CSVs and sort the numbers in a list before writing
-# to a CSV file with an appended -sorted title.
+# Bubble sort in reverse (greatest --> least)
+# Very simple implementation due to straightforward
+# layout of algorithm
# ---------- Imported modules
import inputoutput as io