support@w4writers.com +44 7743 307695
Oct 21, 2021
      1. (a) How many comparisons are needed to merge these four lists by merging L1 and L2, merging L3 and L4, and then merging the two resulting lists?

        (b) How many comparisons are needed if we first merge L1 and L2, then merge the result with L3, and finally merge this result with L4?

        (c) In order to minimize the total number of comparisons in this merging of the four lists, what order should the merging follow?

        (d) Extend the result in part (c) to n sorted lists L1, L2,, Ln.

Recent Post

Order this Assignment now

Total: GBP120

fables template