For this assignment you will be implementing an algorithm capable of sorting strings lexicographically.
Lexicographic sorting is the process of sorting strings in alphabetic order.
Hint: We have already constructed a fantastic data structure to accomplish this goal.
sort(["abz", "abc"], 2) -> ["abc", "abz"] sort(["ab", "ba", "aa"], 3) -> ["aa", "ab", "ba"]
This assignment will be hosted on Github Classroom.
cd ..
)git clone <your repository link here>
)lexicographic.hpp
under Algorithms
sort(String* arr[], int n)
implement a lexicographic sorting algorithm.git add . && git commit -m "Done" && git push
Criteria | Points |
---|---|
Functional Correctness | 80 |
Analysis | 10 |
Quality | 10 |
For this assignment, you may accrue an additional 25 bonus points by implementing the Burstsort
algorithm, which is a slightly more advanced implementation of lexicographic sorting.
Submissions are handled by Github Classroom. Submissions after the deadline are not graded.