Long time no see… We’ve been pretty busy with some homework and didn’t have much time to blog, you know B trees and stuff (We’ll blog about that later) but today I’m going to give you a look on some past projects, earlier this semester we had to simulate the Josephus’ Problem in Data Structure Subject to learn how Circular Abstract Data Types work.
When the Jewish-Roman war was near to a finish, 41 Jewish rebels were trapped by the Romans, but they preferred suicide to defeat so they put themselves into a circle and started killing each other every third person. Josephus didn’t like the idea, so he found the position where he would be the last man alive.
And that’s it, now let’s talk about our program the Abstract Data Type is pretty simple it’s just a Type that defines how should it be handled in our case we are talking about a circular list, in which the last item references the first. Everything is programmed in C# using Visual C# Express.
You can download below all the versions of this programm (Well as soon as the other programmers put their versions up) either the executables or if you want to see the what’s going on and you don’t trust our exes (It’s OK we understand) then you can download the Source Code and compile it yourself. I have to apologize that the variables are mostly in Spanish tough, if enough people request it (2) I can make a translation of the source later.
Mario’s Version:
Source (As a Visual Studio/Visual C# Solution)
Note: I still don’t think it’s perfect, you can report bugs and leave feedback in the comments.
Filed under: Past Projects | 1 Comment »

