I just found out that I was the only student in class who actually produced a working implementation of Banker’s Algorithm for the OS class. My weekend was totally shot, but I submitted a finished product that was runnable some 20 minutes before the deadline.
It’s now 4 days past the deadline, and no one else got even close to a working implementation. I’m not claiming my solution is good, or even that it is entirely correct. But it runs, and it appears to be doing what it is supposed to do.
The assignment didn’t seem all that difficult to me. It was allot of work, but I have seen harder things that needed to be done. But then again, maybe my implementation is totally wrong. Perhaps I totally glossed over some of the hard parts everyone seemed to get stuck on… I don’t know.
Dr. Robila said he will not count that problem towards the homework grade, but he will give extra credit to all people who got close to solving it. I guess that’s good, because even if I’m wrong – I might get nice extra credit out of it…
If he checks it and it turns out to be correct though, I’m going to post it somewhere so that future generations can see a working java version :)