three-pipe problem

Etymology
From the Sherlock Holmes stories of Arthur Conan Doyle, in which the detective would smoke one or more pipes while pondering the solution to a mystery.

Noun

 * 1) A particularly complex or challenging problem or puzzle.