Which drawer code opens?
The curator left three failed codes and the lock's feedback. The real code uses three different letters from A, B, C and D. Each report gives exact counts.

The evidence
- ABC: two letters belong, both in the wrong places.
- ABD: all three belong, all in the wrong places.
- ACB: two letters belong; exactly one is in its correct place.
Read a hint
ABD tells you exactly which letters to keep. Then ask which letter in ACB could be correctly placed.
Reveal the answer
DAB. ABD identifies A, B and D; C is absent. A cannot be first, so the single correctly placed letter in ACB must be B in third. D cannot be third and A cannot be first. That puts D first and A second.