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 7: VII Selected Topics
Key Insight 2 from this chapter

Specialized Algorithmic Domains and Techniques

Key Insight

The text highlights several specialized algorithmic domains and their respective problem-solving techniques. For matrix operations, it presents two general methods, LU decomposition and LUP decomposition, for solving linear equations via Gaussian elimination in O(n^3) time, also noting that matrix inversion and multiplication can be performed with similar efficiency. Beyond exact solutions, methods are introduced for computing least-squares approximate solutions when exact solutions are unavailable. In the realm of polynomial operations, the fast Fourier transform (FFT) is discussed as a technique to multiply two degree-n polynomials in O(n lg n) time, with efficient implementations including parallel circuits.

Linear programming is explored as a framework for maximizing or minimizing an objective under resource constraints, arising in various practical applications. The simplex algorithm, an older but widely used method, is covered, despite its worst-case non-polynomial time complexity. Number-theoretic algorithms are presented, encompassing elementary number theory, Euclid’s algorithm for greatest common divisors, and methods for modular linear equations and exponentiation. A significant application of number theory is the RSA public-key cryptosystem, which facilitates message encryption and digital signatures, relying on efficient primality testing like the Miller-Rabin randomized test and integer factorization techniques such as Pollard’s 'rho' heuristic. Additionally, string matching, critical for text-editing, includes the Rabin-Karp approach, finite automata-based solutions, and the space-efficient Knuth-Morris-Pratt algorithm.

Computational geometry addresses problems involving geometric objects. The text introduces fundamental geometric primitives and describes a 'sweeping' method for efficiently determining line segment intersections. This sweeping technique's power is further illustrated by two algorithms for finding the convex hull of a set of points: Graham's scan and Jarvis's march. The domain also includes an efficient algorithm for identifying the closest pair of points within a given set in a plane, demonstrating methods for fundamental geometric proximity problems.

πŸ“š 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.