Warning I changed the problem statement and invariant 

Forum: Com Sci 221, U Chicago, Autumn 2001, Old Classwork
Re: News Assignment #4 due Monday, 22 October (Mike O'Donnell)
Date: 2001, Oct 15
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

As I discussed in class, I changed the details of the problem statement---in particular I changed between strict and nonstrict inequalities in a few places. I also changed the invariant in a similar way. I'm pretty sure I have everything sensibly self-consistent now. In particular, I tried to make sure that the specified value of B points to an instance of T in the array, if there is one.

To make sure that you're looking at the updated version of the problem, check the modifcation tag at the top, which should be at least as late as

Last modified: Mon Oct 15 22:30:53 CDT 2001

Although I'm pretty sure that I got things right this time, please look over the two formulae---problem statement and invariant---very carefully as soon as you can. My eyes have glazed over, and it's easy for me to miss my own mistake even when I try to be very careful. If you think you see a problem, please post. A good exercise to focus your attention on the formulae and make sure that you understand them is to figure out what happens when X contains more than one instance of T. In that case, which one does B point to? Feel free to discuss this question verbally or online. But you won't get much value from just hearing someone else's answer unless you work out the reason carefully and verify it for yourself from the formula in the problem statement.




Mike O'D.


Messages

to: "I changed the problem statement and invariant"