It's related to a simple logic problem, that's often described a number of different ways. Usually, it's connecting three different utilities (water, power, and gas) to each of three different houses (A, B, and C) with the same caveat: no two lines can cross.
Strictly speaking, the puzzle is...