[BangPypers] I have solved some of the project euler problems in python

Anand Balachandran Pillai abpillai at gmail.com
Tue Jan 17 07:54:01 CET 2012

On Mon, Jan 16, 2012 at 11:41 AM, Sreenivas Reddy T <
thatiparthysreenivas at gmail.com> wrote:

> >
> >        And most of the problems reminded me that Python makes
> > programming a lot more easier.otherwise
>  I chose python  especially for this reason.As programmer moves along ,i
> think ,he  should work on higher level of abstraction.
> or  you have to  come up with range,map(int,str(123)) ,zip and Fraction
> module  equivalents in your implementing lang and re-use them for  solving
> these problems.And implementing these functions itself is a big exercise in
> its own right.So i chose not to,probably after some other time.

My key insight when solving these using Python was how I was able to
use techniques like memoizing using generators etc in order to optimize
my code to a great degree. By caching a lot of values along the way
many problems like those dealing with prime numbers perform
at a different level.

> Regards,
> Srinivas Reddy Thatiparthy.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers


More information about the BangPypers mailing list