A split image of Blow Out, Witness for the Prosecution, and ChinatownWhodunit is a subgenre of crime fiction where characters must figure out who committed a specific crime. Some staple characteristics of a whodunit include wildly complex plots, procedural style investigations where evidence slowly builds over time, and climactic twists that the audience did not see coming.
Source: 10 Best Whodunit Movies