For all exercises, to receive credit you need to obtain
a green check in CS Academy. There is no partial credit
on individual exercises.
HW6 (and future homeworks) may be graded for style! See the style guide linked from the schedule for more details.
We may choose to solve some homework problems in lecture. If we do, don't just copy the answer, but you may take notes if you wish.
As with every 112 assignment, the problem-solving and debugging process is more important than the result so don't rely on AI unless you're prepared to be disappointed with your writing session, quiz, and exam grades.
Required problems
7.1.5. Guided Exercises
reverseList (1)
7.1.7. Additional Practice Exercises
oddMax (1)
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
isMeanish (2)
Bonus/Optional
Note:
These problems are bonus and optional (you can skip them).
They are worth up to 4 bonus points total (i.e. 4% of hw9). This is very little, so it is not worth doing them just for the points. Instead, do them if you would like to challenge yourself and gain more practice.
Also note that we will generally not provide much help on bonus questions until after the homework deadline.