Uncategorized
C++ Implementation to ECE345 HW2 Q1
No plagiarism involved since this part is not marked anyways, and the announcement was sent right after I finished the code. #include <iostream> #include <vector> std::vector<unsigned> testArray = {7,4,2,3,5}; unsigned testNum = 28; void merge (std::vector<unsigned> &array, unsigned l, unsigned m, unsigned r){ unsigned lSize = m-l+1; unsigned rSize = 阅读更多…