Rörd Hinrichsen
unread,May 23, 2012, 10:04:21 AM5/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 4clo...@googlegroups.com
I'm have no idea what's wrong with my solution to this problem. I keep getting StackOverflowErrors when submitting it online, even though locally all the tests run successfully.
I have even changed my solution so that it collects 2000 solutions using only tail calls, so it shouldn't hit non-tail recursion at all, but the 4th test (the first that takes 2000 elements from the result) is still failing.
I'm not sure if it's OK to post my code here, if it is, I will do that, otherwise I would send through email to someone who would be willing to look at it.
TIA Rörd