Skip to main content.
-->
April 24th, 2005

Index of Solutions to SICP Exercises

Structure and Interpretation of Computer ProgramsAs I work through Structure and Interpretation of Computer Programs, I’ve been posting my answers to my blog. I’ll use this post to index them as they’re finished.

Section 1 Solutions

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27

[Update]  See this page for an up-to-date list of solutions.

Posted by Ken Dyck in Programming

1 Comment »

This entry was posted on Sunday, April 24th, 2005 at 11:14 am and is filed under Programming. You can follow any responses to this entry through the comments RSS 2.0 feed. Both comments and pings are currently closed.

One Response to “Index of Solutions to SICP Exercises”

  1. loic says:

    Out of steam? It’s a shame I came here following a link I found with google : “http://en.wikibooks.org/wiki/User:Kellen/SCIP”.

    My take on exercise 2.69, I wanted to check if it was correct.
    I first expected to get the same result as in exercise 2.67, but it seems I was mistaken and there is no link between the two …

    
    (define (successive-merge leaf-set)
            (cond ((null? leaf-set) '())
                  ((null? (cdr leaf-set)) (car leaf-set))
                  (else (successive-merge (cons (make-code-tree (cadr leaf-set)
                                                                (car leaf-set))
                                                (cdr(cdr leaf-set)))))))
    

    Anyway, continue if you can until the end of chapter 3 at least, you had an helpful idea there :-)