Re: Neat little programming puzzle

2014-12-16 Thread sohcahtoa82
On Monday, December 15, 2014 9:52:58 PM UTC-8, Jason Swails wrote: > This was a problem posed to me, which I solved in Python.  I thought it was > neat and enjoyed the exercise of working through it; feel free to ignore.  > For people looking for little projects to practice their skills with (or

Re: Neat little programming puzzle

2014-12-16 Thread neng . zhou
On Tuesday, December 16, 2014 12:52:58 AM UTC-5, Jason Swails wrote: > This was a problem posed to me, which I solved in Python.  I thought it was > neat and enjoyed the exercise of working through it; feel free to ignore.  > For people looking for little projects to practice their skills with (o

Re: Neat little programming puzzle

2014-12-16 Thread Nobody
On Tue, 16 Dec 2014 00:46:16 -0500, Jason Swails wrote: > I liked this problem because naive solutions scale as O(2^N), begging for > a more efficient approach. Project Euler has this one, twice; problems 18 and 67. The difference between the two is that problem 18 has 15 rows while problem 67 h

Re: Neat little programming puzzle

2014-12-15 Thread Ian Kelly
On Mon, Dec 15, 2014 at 10:46 PM, Jason Swails wrote: > > This was a problem posed to me, which I solved in Python. I thought it was neat and enjoyed the exercise of working through it; feel free to ignore. For people looking for little projects to practice their skills with (or a simple distrac

Neat little programming puzzle

2014-12-15 Thread Jason Swails
This was a problem posed to me, which I solved in Python. I thought it was neat and enjoyed the exercise of working through it; feel free to ignore. For people looking for little projects to practice their skills with (or a simple distraction), read on. You have a triangle of numbers such that ea