Problem Sets
From 6.006 Introduction to Algorithms
Line 19: | Line 19: | ||
[http://courses.csail.mit.edu/6.006/spring08/problemsets/6/ps6_progress.zip Making Progress code] | | [http://courses.csail.mit.edu/6.006/spring08/problemsets/6/ps6_progress.zip Making Progress code] | | ||
[http://courses.csail.mit.edu/6.006/spring08/problemsets/6/ps6_image.zip Image Resizing code] | [http://courses.csail.mit.edu/6.006/spring08/problemsets/6/ps6_image.zip Image Resizing code] | ||
+ | |||
+ | [https://courses.csail.mit.edu/6.006/spring08/handouts/protected/H12-ps6-sol.pdf Solutions] | | ||
+ | [https://courses.csail.mit.edu/6.006/spring08/handouts/protected/fib.py fib.py solution] | | ||
+ | [https://courses.csail.mit.edu/6.006/spring08/handouts/protected/change.py change.py solution] | | ||
+ | [https://courses.csail.mit.edu/6.006/spring08/handouts/protected/progress.py progress.py solution] | | ||
+ | [https://courses.csail.mit.edu/6.006/spring08/handouts/protected/ResizeableImage.py ResizeableImage.py solution] | ||
==== Problem Set 5 (due April 24, 11:59 pm) ==== | ==== Problem Set 5 (due April 24, 11:59 pm) ==== |
Latest revision as of 18:01, 13 May 2008
You can write up your solutions using LaTeX, or handwrite them and scan them in.
Please use the template to write up your LaTeX solutions; the LaTeX source for each problem set is also provided for reference.
Problem Set 6 (due May 8, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | Image Resizing YouTube Video | Image Resizing Paper
Code for all four problems in one | Fib code | Making Change code | Making Progress code | Image Resizing code
Solutions | fib.py solution | change.py solution | progress.py solution | ResizeableImage.py solution
Problem Set 5 (due April 24, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | Dijkstra code | Solutions | dijkstra.py solution
Problem Set 4 (due April 10, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | rubik's cube code | Solutions | level.py solution | solver.py solution
Problem Set 3 (due March 20, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | heap code | gas simulation code | Solutions | heap_delete.py solution | detection.py solution
Problem Set 2 (due March 6, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | bst code | substring code | Solutions | substring4.py solution | bstselect.py solution
Problem Set 1 (due February 21, 11:59 pm)
LaTeX Template | LaTeX Source | PDF | code | Solutions