Instructions

In this homework, you are required to complete the problems described in section 3. The starter code for these problems is provided in hw04.py, ADT.py and shakespeare.py.

We have also prepared two optional problems just for fun in section 3. You can find further descriptions there.

Submission: As instructed before, you need to submit your work with Ok by python ok --submit. You may submit more than once before the deadline, and your score of this assignment will be the highest one of all your submissions.

Readings: You might find the following references to the textbook useful: