You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sicp-all-tasks/sicp/5_002e20

11 lines
312 B

Exercise 5.20: Draw the box-and-pointer
representation and the memory-vector representation (as in Figure 5.14)
of the list structure produced by
(define x (cons 1 2))
(define y (list x x))
with the free pointer initially p1. What is the final value of
free? What pointers represent the values of x and y?