We’ve posted the next homework. Grab it here!
Clarifying questions welcome, but as always please spend time thinking about your problem or question before turning to the blog for a quick answer.
UPDATE: If you would prefer not to test your traversals on your binary tree implementation (in case you have bugs that you cannot fix), we have provided our solution in /course/cs016/lib/bintree.py. It’s not the most elegant solution (so don’t use it as exemplary Python code!) but functionally it works! You can copy it into your hw6 directory if you wish.
The next project has been released! You’ll be writing your own heap in Java. Grab the handout on the assignments page or here!
As always, if you have any clarifying questions, let us know on this thread.
The midterm will be on Thursday, March 21st at 7pm in B&H 168. The exam will take about 2 hours, but you will have until midnight if you need, so don’t stress about time.
We’ve posted the next homework which you can access here. As always, clarifying questions are welcome.
Get started early!
UPDATE: A few of you have raised good questions about the support code for this homework.
It’s posted! Grab it while it’s hot.
UPDATE: A small bug slipped into our stencil code. In the file queue_test.py, the import statement was wrong. You should be importing from the Python module “queue” (uncapitalized). You can either re-install the HW, or just change the line that reads
from Queue import *
from queue import Queue
It will take you <60 seconds and will give us a lot of feedback on the material we’ve covered so far. Please fill it out by Friday night so you won’t need to worry about it during the long weekend!
The next lecture has been posted! Use this thread for discussion.
Due to the storm, we’re pushing back Seamcarve’s due date two days. It is now due Monday, 2/11 at 11:59 PM. Additionally, hours are cancelled tomorrow (2/8) and Saturday (2/9). Let us know if you have any questions!
We’ve posted the next homework. Any clarifications needed go here!
The lectures for today been posted! Post any topic related questions here.
Be sure to check out our induction guide on the docs page. You might also find CS22′s induction handout helpful