Question: using STL in c++, sort the given numbers in the input.txt file by only using heap data container. your sorted numbers should be written to
using STL in c++, sort the given numbers in the input.txt file by only using heap data container. your sorted numbers should be written to the output.txt file
(i)your code can be tested with an input file which comtains 1 million random numbers
(ii) Execution time < 1 sec
(iii) memory limit < 64MB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
