3.5. Quiz
Quiz 3: Sorting Algorithms
Shell Sort: Hibbard
Create the class under the package that inherits .
Override the populateSequence() and getSequenceStartIndex() methods such that it performs Shell Sort by using the Hibbard sequence: .
Feel free to use the code in .
Radix Sort: MSD
Create the class under the package that inherits .
Override the sort() method such that it performs Radix Sort from the most significant digit (MSD) to the least significant digit (LSD).
Feel free to use the code in
Create the class under the test package.
Test the correctness of your TernaryHeapQuiz using the method.
Add more tests for a more thorough assessment if necessary.
Compare runtime speeds between ShellSortKnuth and ShellSortQuiz for random, ascending, and descending cases using the method.
Compare runtime speeds between LSDRadixSort and RadixSortQuiz for random cases.
Push everything under the sort package to your GitHub repository: