r/ProgrammerHumor • • Jun 10 '23

[deleted by user]

[removed]

12k Upvotes

615 comments sorted by

View all comments

Show parent comment

11

u/Surface_Detail Jun 10 '23

You define a wall as external despite it being surrounded by the rest of the maze?

6

u/archpawn Jun 10 '23

A physicist, engineer, and mathematician are asked by a local farmer to build the smallest fence they possibly can to hold in all of his sheep.

The physicist builds a big fence and slowly reduces the size until he can't reduce the fence any longer.

The engineer measures each sheep, stacks them in a specific way, and then builds a fence around them.

The mathematician builds a small fence around himself, then defines himself to be outside the fence.

9

u/nonpondo Jun 10 '23

Aren't all walls surrounded by external mazes when you really think about it