Question: Problem 4(b) (Implement k-way templated Merge Sort, 25%) Write your own templated implementation of the Merge Sort algorithm that works with any class T, and
Problem 4(b) (Implement k-way templated Merge Sort, 25%) Write your own templated implementation of the Merge Sort algorithm that works with any class T, and any Comparator functor for T. Put your implementation in file msort.h: don't make a msort.cpp file (because you're using templates). Your mergeSort() function must take a vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
