Answer:
See explaination for the details
Explanation:
Vendor A's total operation = 10 * (1048576) * (log2(1048576)) = 209715200
time taken for A's = 209715200 * 10-9 = 0.2097152 second = 0.210 second
Now Vendor B's total operation = 10 * (1048576)2 = 1.09951163 * 1013
time taken for B's = 1.09951163 * 1013 * 10-9 = 1099.51163 second = 1099.512 second