From: Joshua Muheim Date: 2009-10-01T05:56:25+09:00 Subject: Re: SystemStackError: stack level too deep > how make it deeper? > Or a problem from Project Euler... ;-) > http://projecteuler.net/index.php?section=problems&id=45 > > real 0m0.639s > user 0m0.623s > sys 0m0.008s > > And my solution (in Ruby) could even be made more efficient. However, > it uses a constant amount of space (i.e., no recursion at all, just > some nested loops). > > -Rob > > Rob Biedenharn http://agileconsultingllc.com > Rob@AgileConsultingLLC.com Yeah, it's from Project Euler (our professor is just too lazy to create his own tasks...). Your solution sounds interesting; would you mind posting it here? I won't steal it; we don't have to submit perfect solutions, it's more sort a thinking-task where we're told to deliver possible solutions. -- Posted via http://www.ruby-forum.com/.