summaryrefslogtreecommitdiff
path: root/reverse-insertion-sort.py
diff options
context:
space:
mode:
authorinternetlandlord <f.fredhenry@gmail.com>2022-11-03 20:30:31 +0000
committerinternetlandlord <f.fredhenry@gmail.com>2022-11-03 20:30:31 +0000
commit4abdc0d451d254cdfcff42eec1f3998afbf8fa49 (patch)
tree54c8b988e8cb09fb114be74c3557aefe28a63a5e /reverse-insertion-sort.py
parentcb887cc85943b96172a935f4dac3828c1e087a1d (diff)
Updated appended filenames for reverse quick and insertion sorts. Created reverse merge sort algorithm script.
Diffstat (limited to 'reverse-insertion-sort.py')
-rwxr-xr-xreverse-insertion-sort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reverse-insertion-sort.py b/reverse-insertion-sort.py
index 3bdb2dd..47c318b 100755
--- a/reverse-insertion-sort.py
+++ b/reverse-insertion-sort.py
@@ -33,6 +33,6 @@ def insertionSort(data):
insertionSort(numdata)
# wrapping up and appending "-insertionsorted" to CSV
-target = target[:-4]+"-REV-insertionsorted"+target[-4:]
+target = target[:-4]+"-reverse-insertion"+target[-4:]
print("Sorting done! Writing to file.")
io.egressCSV(numdata,target)