Papers
Topics
Authors
Recent
Search
2000 character limit reached

Elementary Yet Precise Worst-case Analysis of MergeSort, A short version (SV)

Published 26 Feb 2017 in cs.DS, cs.CC, and cs.DM | (1702.08443v1)

Abstract: This paper offers two elementary yet precise derivations of an exact formula [ W(n) = \sum_{i=1} {n} \lceil \lg i \rceil = n \lceil \lg n \rceil - 2{\lceil \lg n \rceil} + 1 ] for the maximum number $ W(n) $ of comparisons of keys performed by $ {\tt MergeSort} $ on an $ n $-element array. The first of the two, due to its structural regularity, is well worth carefully studying in its own right. Close smooth bounds on $ W(n) $ are derived. It seems interesting that $ W(n) $ is linear between the points $ n = 2{\lfloor \lg n \rfloor} $ and it linearly interpolates its own lower bound $ n \lg n - n + 1 $ between these points.

Summary

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (1)

Collections

Sign up for free to add this paper to one or more collections.