[xkcd] Tree (17 Dec 2010)
[xkcd] Tree (17 Dec 2010)
![](https://programming.dev/pictrs/image/9ed85164-c760-4bf8-b92a-4f30b3b9ce9a.png?thumbnail=1024&format=webp)
Hover Text:
Not only is that terrible in general, but you just KNOW Billy's going to open the root present first, and then everyone will have to wait while the heap is rebuilt.
Transcript
[There is a binary Christmas tree, with each node a ball, and lights strung between parent and child nodes. Beneath it is a heap of presents - sorted with the largest on top, smaller presents connected to it with string. Next to the tree is Cueball and his parents, Hairbun and another Cueball.]
Cueball: It's a Christmas tree with a heap of presents underneath!
Mother: ...We're not inviting you home next year.
0
comments