PiotrJustyna / haskell-sandbox

This is a sandbox repository I use to play with Haskell.
3 stars 0 forks source link

Project Euler's problem 14 #2

Open PiotrJustyna opened 8 years ago

PiotrJustyna commented 8 years ago

The solution could be dramatically improved if maps are used to store already visited starting numbers. Something for whenever I feel bored...

PiotrJustyna commented 8 years ago

(this is provided that we change the order of progression - from 1 to 1000000, instead of 1000000 to 1)