#ifndef BASIC_SORTS_HPP #define BASIC_SORTS_HPP #include #include // Different basic sorting algorithm implementations namespace basic_sorts { // Performs Insertion Sort on given word list (vector of strings) void InsertionSort(std::vector *newWordList); // Performs Merge Sort on given word list (vector of strings) void MergeSort(std::vector *newWordList); void _MergeSort(std::vector *newWordList, int p, int r); void _Merge(std::vector *newWordList, int p, int q, int r); // Performs Heap Sort on given word list (vector of strings) void HeapSort(std::vector *newWordList); void _HeapSort(std::vector *newWordList); void _Heapify(std::vector *newWordList, int i, int heapSize); int _HEAPSORT_LEFT(int i); int _HEAPSORT_RIGHT(int i); } #endif