In order to deal with these problems that do not rely on the exact shape of the objects, one must be clear about just what properties these problems do rely on. From this need arises the notion of homeomorphism. The impossibility of crossing each bridge just once applies to any arrangement of bridges homeomorphic to those in Königsberg, and the hairy ball theorem applies to any space homeomorphic to a sphere.
Intuitively two spaces are homeomorphic if one can be deformed into the other without cutting or gluing. A traditional joke is that a topologist can't distinguish a coffee mug from a doughnut, since a sufficiently pliable doughnut could be reshaped to the form of a coffee cup by creating a dimple and progressively enlarging it, while shrinking the hole into a handle. A precise definition of homeomorphic, involving a continuous function with a continuous inverse, is necessarily more technical.