Whodunit has 2 different meanings across 1 category:
Noun
a story about a crime (usually murder) presented as a novel or play or movie
A novel or drama concerning a crime (usually a murder) in which a detective follows clues to determine the perpetrator.