Monthly Archives: January 2013

Projecteuler.net – Problem 24 – Java & Python 3

http://projecteuler.net/problem=24 This problem involves lexicographic permutation. I tried my hand coding it both in Java and Python. The python code is noticeably more compact, but is also really slow. I followed an algorithm on lexicographic permutation found on Wikipedia. Generation … Continue reading

Posted in Java, Project Euler, Python | Leave a comment

Projecteuler.net – Problem 3 – Java

http://projecteuler.net/problem=3 I played around with creating a function for prime factorization that I can carry forward for future problems. Needs minor work to catch numbers that you shouldn’t pass to it. I’m also playing with JavaDoc as well. Still trying … Continue reading

Posted in Java, Project Euler | Leave a comment