Cover of Introduction To Algorithms by Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, Clifford Stein - Business and Economics Book

From "Introduction To Algorithms"

Author: Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, Clifford Stein
Publisher: MIT Press
Year: 2001
Category: Computers

🎧 Free Preview Complete

You've listened to your free 10-minute preview.
Sign up free to continue listening to the full summary.

🎧 Listen to Summary

Free 10-min Preview
0:00
Speed:
10:00 free remaining
Chapter 3: III Data Structures
Key Insight 1 from this chapter

Median Finding Algorithms and Performance Bounds

Key Insight

The RANDOMIZED-SELECT algorithm achieves an expected time complexity of O(n) for finding the median, assuming all array elements are distinct. Historically, a worst-case linear-time median-finding algorithm was developed, alongside an improved randomized version that enhances efficiency by partitioning elements based on a recursively selected small sample.

Determining the exact number of comparisons needed for median finding remains a complex problem. Early investigations established a lower bound of 2n comparisons required and an upper bound of 3n comparisons for this task. These bounds provide a foundational understanding of the problem's inherent computational cost.

Recent research has further refined these performance bounds. An improved upper bound for median finding is now slightly less than 2.95n comparisons. Concurrently, a refined lower bound has been established at (2 + ε)n comparisons, where ε represents a small positive constant, indicating ongoing progress in precisely quantifying the median-finding challenge.

📚 Continue Your Learning Journey — No Payment Required

Access the complete Introduction To Algorithms summary with audio narration, key takeaways, and actionable insights from Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, Clifford Stein.