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/2_002e61

6 lines
278 B

Exercise 2.61: Give an implementation of
adjoin-set using the ordered representation. By analogy with
element-of-set? show how to take advantage of the ordering to produce a
procedure that requires on the average about half as many steps as with the
unordered representation.