Explanations, pseudocode, an embedded interactive visualization, implementations in JavaScript, Python, Java and Go, complexity and interview variations.
Pick the activity that finishes first, repeat.
Take items by best value/weight ratio, splitting the last one.
Schedule highest-profit jobs into the latest free slot before their deadline.
Merge the two least frequent symbols repeatedly to build an optimal prefix code.