Can you an example of a real world problem you'd use that as a programmer besides surprising your interviewer?
If I hadn't taken an Algorithms class, I wouldn't have thought to use a directed acyclic graph, and to topologically sort the different queries so that they are resolved in order.
That was actually the first time I'd used something from a theory class on the job! It was pretty exciting, though probably mundane for most engineers :).