sicp.git
14 years agobunch of exercise solutions from sections 2.3, 2.4 and 2.5
Ramakrishnan Muthukrishnan [Wed, 22 Dec 2010 04:54:00 +0000 (10:24 +0530)]
bunch of exercise solutions from sections 2.3, 2.4 and 2.5

14 years agosolution to 2.61 and 2.62
Ramakrishnan Muthukrishnan [Fri, 26 Nov 2010 12:38:07 +0000 (18:08 +0530)]
solution to 2.61 and 2.62

14 years agosolution to 2.59 and 2.60
Ramakrishnan Muthukrishnan [Thu, 25 Nov 2010 18:10:08 +0000 (23:40 +0530)]
solution to 2.59 and 2.60

14 years agosolution to 2.58 a and b. Need to test more.
Ramakrishnan Muthukrishnan [Wed, 24 Nov 2010 14:10:06 +0000 (19:40 +0530)]
solution to 2.58 a and b. Need to test more.

14 years agosolutions to 2.38 and 2.39.
Ramakrishnan Muthukrishnan [Wed, 24 Nov 2010 12:13:03 +0000 (17:43 +0530)]
solutions to 2.38 and 2.39.

14 years agosolution to 2.57. There has to be a more elegant solution
Ramakrishnan Muthukrishnan [Wed, 24 Nov 2010 12:10:01 +0000 (17:40 +0530)]
solution to 2.57. There has to be a more elegant solution

14 years agosolution to 2.56
Ramakrishnan Muthukrishnan [Wed, 24 Nov 2010 12:09:23 +0000 (17:39 +0530)]
solution to 2.56

14 years agosymbolic differentiation system
Ramakrishnan Muthukrishnan [Tue, 23 Nov 2010 18:22:24 +0000 (23:52 +0530)]
symbolic differentiation system

14 years agosolution to 2.54
Ramakrishnan Muthukrishnan [Tue, 23 Nov 2010 18:21:23 +0000 (23:51 +0530)]
solution to 2.54

14 years agopicture language implemented again using racket.
Ramakrishnan Muthukrishnan [Tue, 23 Nov 2010 14:13:32 +0000 (19:43 +0530)]
picture language implemented again using racket.

14 years agosolution to 2.34, 2.35, 2.36 and 2.37
Ramakrishnan Muthukrishnan [Sun, 17 Oct 2010 19:17:56 +0000 (00:47 +0530)]
solution to 2.34, 2.35, 2.36 and 2.37

14 years agosolution to 2.33 in scheme
Ramakrishnan Muthukrishnan [Sat, 16 Oct 2010 19:40:54 +0000 (01:10 +0530)]
solution to 2.33 in scheme

14 years agosection 2.2.3 in scheme
Ramakrishnan Muthukrishnan [Sat, 16 Oct 2010 19:40:38 +0000 (01:10 +0530)]
section 2.2.3 in scheme

14 years agosolution to 2.77, 2.88, 2.79, 2.80
Ramakrishnan Muthukrishnan [Fri, 1 Oct 2010 18:31:11 +0000 (00:01 +0530)]
solution to 2.77, 2.88, 2.79, 2.80

14 years agosolution to 2.75
Ramakrishnan Muthukrishnan [Mon, 20 Sep 2010 16:50:56 +0000 (22:20 +0530)]
solution to 2.75

14 years agocode in the messaging passing section
Ramakrishnan Muthukrishnan [Mon, 20 Sep 2010 16:50:40 +0000 (22:20 +0530)]
code in the messaging passing section

14 years agocode from section 2.4
Ramakrishnan Muthukrishnan [Sun, 19 Sep 2010 18:46:23 +0000 (00:16 +0530)]
code from section 2.4

14 years agosome misc utilities
Ramakrishnan Muthukrishnan [Sun, 19 Sep 2010 18:45:46 +0000 (00:15 +0530)]
some misc utilities

14 years agosolution to 2.73
Ramakrishnan Muthukrishnan [Sun, 19 Sep 2010 18:45:21 +0000 (00:15 +0530)]
solution to 2.73

14 years agoimplementing some of the sec 2.2 examples in Racket
Ramakrishnan Muthukrishnan [Fri, 17 Sep 2010 18:41:26 +0000 (00:11 +0530)]
implementing some of the sec 2.2 examples in Racket

14 years agosolution to 2.72
Ramakrishnan Muthukrishnan [Fri, 17 Sep 2010 14:13:01 +0000 (19:43 +0530)]
solution to 2.72

14 years agosolution to 2.71
Ramakrishnan Muthukrishnan [Thu, 16 Sep 2010 20:02:21 +0000 (01:32 +0530)]
solution to 2.71

14 years agosolution to 2.70
Ramakrishnan Muthukrishnan [Thu, 16 Sep 2010 18:28:12 +0000 (23:58 +0530)]
solution to 2.70

14 years agosolution to 2.69
Ramakrishnan Muthukrishnan [Thu, 16 Sep 2010 18:27:56 +0000 (23:57 +0530)]
solution to 2.69

14 years agoexposing some functions for use by other exercises
Ramakrishnan Muthukrishnan [Thu, 16 Sep 2010 18:27:27 +0000 (23:57 +0530)]
exposing some functions for use by other exercises

14 years agosolution to 2.68
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:22:13 +0000 (23:52 +0530)]
solution to 2.68

14 years agosolution to 2.67
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:22:05 +0000 (23:52 +0530)]
solution to 2.67

14 years agohuffman tree examples
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:21:48 +0000 (23:51 +0530)]
huffman tree examples

14 years agosolutions to 2.{64,65,66}
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 18:11:46 +0000 (23:41 +0530)]
solutions to 2.{64,65,66}

14 years agoadding the key lookup procedure
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 18:11:08 +0000 (23:41 +0530)]
adding the key lookup procedure

14 years agosolution to 2.63.
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 06:15:31 +0000 (11:45 +0530)]
solution to 2.63.

14 years agoadding the "sets as trees" section code
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 06:15:09 +0000 (11:45 +0530)]
adding the "sets as trees" section code

14 years agoan important bug fixed on equal? function
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:56:50 +0000 (16:26 +0530)]
an important bug fixed on equal? function

14 years agosolution to 2.62
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:56:01 +0000 (16:26 +0530)]
solution to 2.62

14 years agosolution to 2.61
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:56 +0000 (16:25 +0530)]
solution to 2.61

14 years agosolution to 2.60
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:50 +0000 (16:25 +0530)]
solution to 2.60

14 years agosolution to 2.59
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:41 +0000 (16:25 +0530)]
solution to 2.59

14 years agoadded the text examples in the section on unordered and ordered Sets
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:25 +0000 (16:25 +0530)]
added the text examples in the section on unordered and ordered Sets

14 years agoFixed a bug with the rest case input of '(x + 3 * (x + y + 2))
Ramakrishnan Muthukrishnan [Sun, 5 Sep 2010 17:08:04 +0000 (22:38 +0530)]
Fixed a bug with the rest case input of '(x + 3 * (x + y + 2))

14 years agoA partially working solution for 2.58b. Still need expression
Ramakrishnan Muthukrishnan [Sun, 5 Sep 2010 16:41:43 +0000 (22:11 +0530)]
A partially working solution for 2.58b. Still need expression
simplification.

14 years agosymbolic differentiation section
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:38:49 +0000 (09:08 +0530)]
symbolic differentiation section

14 years agoAdded a simple explanation.
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:38:11 +0000 (09:08 +0530)]
Added a simple explanation.

14 years agosolution to 2.58 part a
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:29 +0000 (09:07 +0530)]
solution to 2.58 part a

14 years agosolution to 2.57
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:15 +0000 (09:07 +0530)]
solution to 2.57

14 years agosolution to 2.56
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:05 +0000 (09:07 +0530)]
solution to 2.56

14 years agotext examples until 2.3.2
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:55 +0000 (01:24 +0530)]
text examples until 2.3.2

14 years agosolution to 2.55
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:13 +0000 (01:24 +0530)]
solution to 2.55

14 years agosolution to 2.54
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:06 +0000 (01:24 +0530)]
solution to 2.54

14 years agosolution to 2.53
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:53:59 +0000 (01:23 +0530)]
solution to 2.53

14 years agomoved notes to pictlang/README
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 09:40:17 +0000 (15:10 +0530)]
moved notes to pictlang/README

14 years agoadded a note on start-picture
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:12:47 +0000 (13:42 +0530)]
added a note on start-picture

14 years agoadded a README which points to the root readme
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:08:02 +0000 (13:38 +0530)]
added a README which points to the root readme

14 years agoadded example usage for pictlang
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:05:26 +0000 (13:35 +0530)]
added example usage for pictlang

14 years agoadding a note on 2.2.4
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:00:58 +0000 (13:30 +0530)]
adding a note on 2.2.4

14 years agoExercise solutions for section 2.2.4. Instead of looking at this
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 07:09:01 +0000 (12:39 +0530)]
Exercise solutions for section 2.2.4. Instead of looking at this
commit, please look at the namespace pictlang instead.

14 years agoadded code in section 2.2.4
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 07:08:33 +0000 (12:38 +0530)]
added code in section 2.2.4

14 years agoUtilities for henderson's picture language.
Ramakrishnan Muthukrishnan [Tue, 31 Aug 2010 18:34:25 +0000 (00:04 +0530)]
Utilities for henderson's picture language.

14 years agosolution to 2.45 in Scheme
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 19:35:33 +0000 (01:05 +0530)]
solution to 2.45 in Scheme

14 years ago2.2.4 in Scheme
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 19:35:13 +0000 (01:05 +0530)]
2.2.4 in Scheme

14 years agominor formatting changes
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:19:27 +0000 (23:49 +0530)]
minor formatting changes

14 years agorest of section 2.2
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:18:50 +0000 (23:48 +0530)]
rest of section 2.2

14 years agoupdated deps to clojure 1.2.0
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:18:25 +0000 (23:48 +0530)]
updated deps to clojure 1.2.0

14 years agosolution to 2.20 in Scheme (DrRacket)
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:17:32 +0000 (23:47 +0530)]
solution to 2.20 in Scheme (DrRacket)

14 years agosolution to 2.43
Ramakrishnan Muthukrishnan [Sat, 14 Aug 2010 06:52:09 +0000 (12:22 +0530)]
solution to 2.43

14 years agotwo solutions to 2.42
Ramakrishnan Muthukrishnan [Sat, 14 Aug 2010 06:33:19 +0000 (12:03 +0530)]
two solutions to 2.42

14 years agosolution to 2.41
Ramakrishnan Muthukrishnan [Wed, 11 Aug 2010 14:57:43 +0000 (20:27 +0530)]
solution to 2.41

14 years agosolution to 2.40. Extension of the text discussions.
Ramakrishnan Muthukrishnan [Wed, 11 Aug 2010 14:57:23 +0000 (20:27 +0530)]
solution to 2.40. Extension of the text discussions.

14 years agoexamples upto ex 2.40
Ramakrishnan Muthukrishnan [Sat, 7 Aug 2010 09:21:23 +0000 (14:51 +0530)]
examples upto ex 2.40

14 years agosolution to 2.39. Took me some experimentation at the repl to find the fold-right...
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 19:36:05 +0000 (01:06 +0530)]
solution to 2.39. Took me some experimentation at the repl to find the fold-right version of reverse.

14 years agosolution to 2.38
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 18:16:01 +0000 (23:46 +0530)]
solution to 2.38

14 years agosolution to 2.37
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 17:09:36 +0000 (22:39 +0530)]
solution to 2.37

14 years agosolution to 2.36
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 14:15:18 +0000 (19:45 +0530)]
solution to 2.36

14 years agoSolution to 2.35. Yet another enlightening problem
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 11:08:40 +0000 (16:38 +0530)]
Solution to 2.35. Yet another enlightening problem

14 years agosolution to 2.34
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 09:55:13 +0000 (15:25 +0530)]
solution to 2.34

14 years agoSolution to 2.33
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 18:41:59 +0000 (00:11 +0530)]
Solution to 2.33

14 years agoexamples till ex 2.33.
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 18:41:26 +0000 (00:11 +0530)]
examples till ex 2.33.

14 years agoadded parts of section 2.2.3
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 13:51:45 +0000 (19:21 +0530)]
added parts of section 2.2.3

14 years agosolution to 2.32. One of the best exercises in this section.
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:24 +0000 (01:22 +0530)]
solution to 2.32. One of the best exercises in this section.

14 years agosolution to 2.31
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:19 +0000 (01:22 +0530)]
solution to 2.31

14 years agosolution to 2.30
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:14 +0000 (01:22 +0530)]
solution to 2.30

14 years agotext examples upto 2.2.3
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:51:50 +0000 (01:21 +0530)]
text examples upto 2.2.3

14 years agoanother solution to 2.20
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 03:43:05 +0000 (09:13 +0530)]
another solution to 2.20

14 years agosolution to 2.29
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 03:42:36 +0000 (09:12 +0530)]
solution to 2.29

14 years agosolution to 2.28. Really interesting..
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 12:38:46 +0000 (18:08 +0530)]
solution to 2.28. Really interesting..

14 years agosolution to 2.27
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:56:41 +0000 (12:26 +0530)]
solution to 2.27

14 years agosolution to 2.26
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:56:14 +0000 (12:26 +0530)]
solution to 2.26

14 years agosolution to 2.25
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:55:56 +0000 (12:25 +0530)]
solution to 2.25

14 years agoanother implementation of reverse
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:55:33 +0000 (12:25 +0530)]
another implementation of reverse

14 years agosome additional notes and code on addition with church numerals
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 05:38:48 +0000 (11:08 +0530)]
some additional notes and code on addition with church numerals

14 years agostarting with section 2.2.2
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:18:44 +0000 (12:48 +0530)]
starting with section 2.2.2

14 years agosolution to 2.24. Please look at the correctness of the box and arrow diagram
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:18:02 +0000 (12:48 +0530)]
solution to 2.24. Please look at the correctness of the box and arrow diagram

14 years agosolution to 2.23
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:17:37 +0000 (12:47 +0530)]
solution to 2.23

14 years agosolution to 2.22
Ramakrishnan Muthukrishnan [Thu, 1 Jul 2010 03:40:30 +0000 (09:10 +0530)]
solution to 2.22

14 years agosolution to 2.21
Ramakrishnan Muthukrishnan [Sun, 27 Jun 2010 17:04:29 +0000 (22:34 +0530)]
solution to 2.21

14 years agoa much clearer solution of 2.20
Ramakrishnan Muthukrishnan [Thu, 24 Jun 2010 02:54:15 +0000 (08:24 +0530)]
a much clearer solution of 2.20

14 years agoadded another solution and test for 2.20
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 14:21:31 +0000 (19:51 +0530)]
added another solution and test for 2.20

14 years agosolution to 2.20
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 14:09:57 +0000 (19:39 +0530)]
solution to 2.20

14 years agosolution to 2.19
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 12:47:13 +0000 (18:17 +0530)]
solution to 2.19

14 years agosolution to 2.18
Ramakrishnan Muthukrishnan [Sun, 20 Jun 2010 04:49:58 +0000 (10:19 +0530)]
solution to 2.18

14 years agosolution to 2.17
Ramakrishnan Muthukrishnan [Sun, 20 Jun 2010 04:04:40 +0000 (09:34 +0530)]
solution to 2.17