Question: Your program is to perform only one heap assisted merge of all n files simultaneously. At any time, there should be no more than one
Your program is to perform only one “heap assisted” merge of all n files simultaneously. At any time, there should be no more than one string from each of the input files being processed by your code. It will be useful to have a table of file pointers and a table of strings. Using a heap implementation with “handles” is highly recommended.
Under no circumstance should your program use multiple binary merges!
Step by Step Solution
3.33 Rating (147 Votes )
There are 3 Steps involved in it
include include void swapchar a char b char temp50 strcpytempa strc... View full answer
Get step-by-step solutions from verified subject matter experts
