Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 2.17 KB

divide-conquer.md

File metadata and controls

21 lines (14 loc) · 2.17 KB

Sorting Lower Bound

This is a very important result in computer science. Check these slides or this video.

Median Finding

More Divide & Conquer Examples

The following are more examples of well-known Divide & Conquer algorithms. Some of these examples were taught previousl at PSUT and are commonly taught in courses on algorithms.

  • Counting Inversions. This problem has many applications and can be solved efficiently with a slight modification of Mergesort. [video1][video2]

  • Karatsuba's Algorithm for Integer Multiplication. This is a classic (and quite clever) algorithm for multiplying two integers. It is better than the algorithms discussed in the introductory lecture of this course (slides from Spring 2023, video).

  • Finding the closest pair of points in a 2D space. While the divide and conquer algorithm is not the fastest known algorithm for this problem, it is a classic example of divide and conquer that can be eye opening to learn! [video]

  • Strassen's Algorithm for Matrix Multiplication (wikipedia article)