A type of fiction that involves solving a crime or puzzle, typically featuring a detective or other investigator.