6 research outputs found

    Improved Average Complexity for Comparison-Based Sorting

    Full text link
    This paper studies the average complexity on the number of comparisons for sorting algorithms. Its information-theoretic lower bound is nlgn1.4427n+O(logn)n \lg n - 1.4427n + O(\log n). For many efficient algorithms, the first nlgnn\lg n term is easy to achieve and our focus is on the (negative) constant factor of the linear term. The current best value is 1.3999-1.3999 for the MergeInsertion sort. Our new value is 1.4106-1.4106, narrowing the gap by some 25%25\%. An important building block of our algorithm is "two-element insertion," which inserts two numbers AA and BB, A<BA<B, into a sorted sequence TT. This insertion algorithm is still sufficiently simple for rigorous mathematical analysis and works well for a certain range of the length of TT for which the simple binary insertion does not, thus allowing us to take a complementary approach with the binary insertion.Comment: 21 pages, 2 figure

    On the Average Case of MergeInsertion

    No full text

    Optimal Coding for Streaming Authentication and Interactive Communication

    Get PDF
    We consider the task of communicating a data stream-a long, possibly infinite message not known in advance to the sender-over a channel with adversarial noise. For any given noise rate c 1/2
    corecore