#164 Language of a DFA

73 views
Skip to first unread message

Rörd Hinrichsen

unread,
May 23, 2012, 10:04:21 AM5/23/12
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

Leif

unread,
Jul 14, 2012, 8:06:13 PM7/14/12
to 4clo...@googlegroups.com
Hi, Rörd.

I don't know if this is relevant anymore, but I finally finished my solution to this one, so I can look at your code if you want.

--Leif
Reply all
Reply to author
Forward
0 new messages