4 ms·
Scrolling to the bottom of the article gives you a list of similar implementations in other languages. Very interesting to see how other have tackled this prog
by prs 16y ago
Scrolling to the bottom of the article gives you a list of similar implementations in other languages.
Very interesting to see how other have tackled this programming problem.
- gregschlom 16y agoI was somewhat amused to see that most other implementations take around 30 - 60 lines of code, except Java : 372. But the comparison may not be fair, as the Java author may have tweaked the algorithm or added new features
- freakwit 16y agoThere are two implementations listed for Java. The first is 35 LOC and the second is 372.