[quote user="smbell"]
OK, so the namesToStates and statesToNames seems a bit brain dead, but not quite WTF worthy. The whole idea of using a database during a Topcoder competition is the "real WTF™".
In a Topcoder competition you basically are given an interface to code to, and you submit a single class that solves the problem. I'm
thinking the OP is just jealous because this guy beat him in the competition ;)
[/quote]
The code presented was not part of any TopCoder competition, the author (not the OP) just lets everyone know that he won a TopCoder competition. The code presented was in use on a production system.