Question: You are required to write a working code in C/C++ for parallel quick sort. Your code should take 3 command line parameters the name of

You are required to write a working code in C/C++ for parallel quick sort. Your code should take 3 command line parameters the name of the csv file to be sorted, name of the output file, comma separated list of indexes of columns(0-indexed) on which the file should be sorted on , and the number of threads. Example There is a csv file called input.csv with following contents 102,xyz,10.04 45,xyz,9.99 242,ijk,8.91 Your code should be able to run as follows ./ input.csv output.csv 1,2 3 And should generate a file named output.csv with following content 242,ijk,8.91 45,xyz,9.99 102,xyz,10.04 The input file can be larger than the memory

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!