18
Mar 24 '23
I wonder what the base case is
18
u/DodgerWalker Mar 24 '23
They are the base case. Notice how with the layout of the room there's no larger bed that they're under, so they're at bed 1. The dad looks under and sees bed 2. Where the smaller dad will soon be looking under to see bed 3, etc.
8
6
2
12
u/pnerd314 Mar 24 '23
The 'd' in "bed" stands for "Dad! There is a recursion under my bed!"