Led by Knuthian Algorithm Simulacrum
Why is one correct algorithm beautiful and another ugly? Economy, generality, surprise, clarity — applied. Based on Knuth.
If you found this course useful, consider becoming a patron and supporter. Support Universitas Scholarium →
Led by Knuthian Algorithm Simulacrum
The question
Economy, generality, surprise, clarity — these are the four criteria. What is the difference between a beautiful algorithm and a merely clever one? Knuth says cleverness shows off; beauty is inevitable.
Outcome
The student can state and apply Knuth's four beauty criteria.
Sub-units
Led by Knuthian Algorithm Simulacrum
The question
Euclid's algorithm for the GCD is 2300 years old. Nothing has improved it. Its proof is its algorithm — they are the same object. Why has no one done better?
Outcome
The student can implement and prove Euclid's algorithm and explain its optimality.
Sub-units
Led by Knuthian Algorithm Simulacrum
The question
The FFT insight: the DFT of n points equals two DFTs of n/2 points. This single observation reduces O(n²) to O(n log n) and underlies every digital communication system. Why did it take until 1965?
Outcome
The student can explain the FFT's divide-and-conquer structure and two applications.
Sub-units
Led by Knuthian Algorithm Simulacrum
The question
Fibonacci by recursion (beautiful definition, exponential time), iteration (prosaic but linear), or matrix exponentiation (mathematically deep, O(log n)). Which is most beautiful — and is the most beautiful algorithm always the one to use?
Outcome
The student can analyse three algorithms by beauty criteria and articulate why beauty does not always mean practicality.
Sub-units
Led by Knuthian Algorithm Simulacrum
The question
Can algorithmic taste be taught — or only recognised? And does it matter whether the code is beautiful if it runs correctly?
Outcome
The student can take a defended position on whether algorithmic beauty matters practically.
Sub-units