A student may implement breadth-first search perfectly when the worksheet says “BFS” and fail to recognize the same structure in an unfamiliar story. The implementation is visible. The selection decision remains unpracticed.

I organize a lesson around the point where several techniques still look plausible.

Begin with observable clues

Constraints, objective structure, allowed operations, and required output provide evidence. Unweighted shortest paths suggest one family of methods. A small state dimension suggests another. An exchange property may invite a greedy argument, but only if the choice can be shown safe.

I ask students to list clues before naming algorithms. This keeps recognition from becoming a vocabulary reflex.

Keep alternatives alive

A polished lecture often presents the correct method as inevitable. I prefer to compare it with at least one tempting alternative. What would brute force cost? Which dependency breaks a greedy ordering? What information does a simpler state discard?

Rejecting an approach for a precise reason is part of solving the problem.

Teach a falsification move

Each technique should come with a quick way to test its applicability. Try to construct a counterexample to the greedy choice. Check whether a graph edge violates the weight assumption. Find two prefixes that share the proposed dynamic-programming state but require different futures.

These moves let students challenge their first idea before an online judge does.

Remove the label

Practice should eventually mix topics and change surface details. The student must state both the chosen method and the evidence that justified it. A correct answer with a weak justification shows a fragile selection process that happened to succeed.

I also include cases where the recently taught technique is wrong. Otherwise, the course itself becomes the label.

The reusable lesson is a decision procedure: observe, generate candidates, reject with constraints or counterexamples, and justify the surviving choice. The technique is one output of that procedure.