The heap question (problem 4) was replaced on 10/27 to make the heap more consistent with Weiss's presentation. Please pick up this version of problem 4, even if you have done some of the other questions using the original hw8 handout.