Question: COMP 3053: Analysis of Algorithms (Spring 2019) Homework #3 (100 Points) 03/06/2019 Sorting is one of basic algorithms widely used in many applications. In this

 COMP 3053: Analysis of Algorithms (Spring 2019) Homework #3 (100 Points)
03/06/2019 Sorting is one of basic algorithms widely used in many applications.
In this homework, you need to implement multiple sorting algorithms including: -

COMP 3053: Analysis of Algorithms (Spring 2019) Homework #3 (100 Points) 03/06/2019 Sorting is one of basic algorithms widely used in many applications. In this homework, you need to implement multiple sorting algorithms including: - Merge Sort - Quick Sort - Selection Sort - Insertion Sort A header file is provided for the Sort class: Sort.h. You need to download it from the ecourses, and implement all functions defined in the class using C++ with a file named Sort.cpp. You will also need to create a Main.cpp to create object (s) of the Sort class, and test if these sorting functions are working correctly. Submission policy: You need to submit your completed program source code to ecourses by at the end of the class time. You need to upload all of your source code: Main.cpp, Sort.cpp, and Sort.h. You need to follow the C++ programming practice to name these files. Do NOT change any of their names or upload other files to ecourses. Bonus (20 points): You may use the Vector class you implemented in homework #1 as the data structure in this homework. Your code will be able to sort a list with different data types (such as int, char, float). If you do it, you need to submit your Vector.h and Vector.cpp in addition. Please note that failure to follow the submission rule will NOT receive credit for the exam. #include #include "sort . h" using namespace std; int main() char myList11101E,'x','A*,'M,'P', 'L,E int lenl7; Sort mySortl (myListl,len1); cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!