Homework10 (due Sat 29-Mar at 8pm)
Notes:
- For all exercises, to receive credit you need to obtain
a green check in CS Academy. There is no partial credit on individual exercises.
- For guided exercises, watching the guided video is
required -- it will show you how to solve the exercise
elegantly, will save you lots of time, and will best
prepare you for later exercises.
Thus, first read the writeup and then
carefully watch the guided video. Then and only then
should you solve the guided exercise.
Required problems
- 7.1.5. Guided Exercises
- 7.1.7. Additional Practice Exercises
- 7.2.4. Trees Section Exercises
- getTreeLeaves (1)
- treeContainsValue (1)
- getTreePostorder (2)
- 7.4. Unit 7 Guided Exercises
- flatten (1)
- getCourse (1)
- powerSet (2)
- 7.5. Unit 7 Exercises
- evalExpressionTree (2)
- permutations (2)
- 7.6. Unit 7 Additional Practice Exercises
Bonus/Optional
Note:
- These problems are bonus and optional (you can skip them).
- They are worth up to 2 bonus points. This is very few, so please do not do the bonus
just for the points. Instead, do it for the learning!
- 7.7.5. Unit 7 Honors Guided Exercises
Week 11 Required Prereading (due Mon 31-Mar at 8pm)
Read section 7.7.3 Backtracking very carefully if you have not already, and do any checkpoints remaining in Unit 7.
(Note: Checkpoints include anything labeled as a Checkpoint in the notes. Unless otherwise specified,
pre-reading does
not include anything labeled as an Exercise on the table of contents.)
Once the Term Project description has been shared on the course website, you must carefully read it within the next 24 hours! Also, be sure to carefully read any related Ed posts from us. You are responsible for reading and understanding and adhering to these policies (and asking questions if yu do not understand).