Three Beautiful Quicksorts [video]
hash-table.com
hash-table.com
It's quirky in the sense that it is a randomized algorithm. It's analysis is beautifully simple once understood, but painfully non-trivial. There are multiple ways to analyze the running time of quicksort (dartboard, recurrence, etc) and its ideas apply to many other algorithms.
Please try HN search before posting oldies.