Name: kinghajj !kiNgHAJjDw 2009-08-18 20:35
Here's a Base64-encoded tarball with two versions of the same Java program, which solves XKCD #287 (NP-Complete) by backtracking. If you diff them, they are--for all intents and purposes--the same. The "new" version was after I imported the files into NetBeans and ran the code formatter; the "old" version is my original. The old one runs fine, but the new one fails with a StackOverflowError. Can /prog/ spot what's different about the new version that makes it fail?
"Java Anomaly.tar.gz.b64"
http://pastebin.com/m5e996d07
"Java Anomaly.tar.gz.b64"
http://pastebin.com/m5e996d07