Category: Uncategorized
-
Whoa! Keeping up with the Africa 2010 contest, enter the Qualification C problem: T9 Spelling! It was a very fun problem and says: The Latin alphabet contains 26 characters and telephones only have ten digits on the keypad. We would like to make it easier to write a message to your friend using a sequence of…
-
Hello there! Well, I can’t say anything about this problem other than it’s just super easy. Allow me to show you: Given a list of space separated words, reverse the order of the words. If that first sentence didn’t kill it for you, I don’t know what will. Anyway, the python code (validated, of course): …
-
Hey there I was quite busy this weekend, working on so much Code Jam problems, as a way to study, but also to blog about new achievements. As an achievement, this very post is making use of Android’s excellent voice recognition feature. I’m dictating this through my cellphone while laying down on the bed, so…
-
I didn’t knew that this contest existed! 😀 Well, found it on the front page, looking to be solved, so, let’s go! Its summary: You receive a credit C at a local store and would like to buy two items. You first walk through the store and create a list L of all available items. From this list you…
-
Hey there, it’s hard to find time with Dexter and Breaking bad finales approaching! But they’ve already been dealt with for this week, so, more free time! 😀 Getting more tasks done, and not missing midnight, is quite an achievement for me. Also, made a new commit from some of today and yesterday’s code on…
-
Bah, the last couple of days almost made me die at HabitRPG, mostly because I must complete tasks before midnight (!) and I’ve got used to updating before going to sleep… and that was already late. I had something like 5HP left to avoid losing my beloved belongings, but tonight I made up and the…
-
Just like Python, JavaScript tends to create things once you mention them and they don’t yet exist. In my opinion, that’s a bit more harmful than useful, because there’s danger in accidentally creating new variables and values when you assumed it would be already holding a known value. Coming from a C/C++/Java background, I would…
-
I was messing with my game prototype when something came along: how do I create objects in this thing? Many of the examples I’ve seen were quite weird, with functions creating new instances of things and being used to define objects. But what about real classes? Inheritance? After all, is there a standard in JavaScript? Looks…
-
Long time ago, at one college night class, I was quite amazed that my teacher would have to draw over and over again Venn diagrams to explain logic problems and exercises. That class had a projector that was mainly used to display PPS slides. Since I was already quite proficient at Java and Swing development,…
You must be logged in to post a comment.