The correct answer is: B. used all available means.
The phrase "left no stone unturned" means to search thoroughly for something. In the context of the question, the detective used all available means to trace the culprit, including interviewing witnesses, searching for evidence, and following up on leads.
Option A is incorrect because it suggests that the detective did things that were not relevant to the case. Option C is incorrect because it suggests that the detective did not take the case seriously. Option D is incorrect because it suggests that the detective used illegal or unethical methods to solve the case.