Mathematics for Computer Science

(Frankie) #1

14.4. Hanging Out Over the Edge 423


1=8 3=4


1=2


1=6


table

(a)

1=8 1=61=4 1=2


table

(b)

Figure 14.10 The two ways to achieve spread (and overhang)25=24. The method
in (a) uses Case 1 for the top 2 blocks and Case 2 for the others. The method in (b)
uses Case 2 for every block that is added to the stack.

Free download pdf