Every algorithm tells a story, not just of its own steps, but of the problem it seeks to solve.