The Stable Matching Problem

Proof by Contradiction

Greedy Algorithms

Proof by induction: Prove that if nothing got messed up in the first $(t-1)$ steps, the t-th step doesn't mess up either

Start with some (unknown) optimal solution O, and we prove that gradually making it more similar to our (greedy) solution can only make it better (or equal).

Figure out as much as possible about what the optimum solution must look like (properties like what must be included, what cannot be included). This often suggests a natural algorithm.

Divide & Conquer

Induction on input size: the correctness of the whole algorithm requires that the recursive calls gave the correct answers