whodunnit [noun] [C] [informal] - a story about a crime and the attempt to discover who committed itThe book/film is one of those whodunits where you don't find out who the murderer is till the very end.
WHODUNIT
Meaning of WHODUNIT in English
Cambridge English vocab. Кембриджский английский словарь. 2012