Full threadlasr21·If you have time you can practice at http://www.topcoder.com or also http://projecteuler.net/View on HN