Skip to main content
12 events
when toggle format what by license comment
Nov 21, 2012 at 16:27 vote accept Chopra Jack
Oct 9, 2012 at 13:15 comment added Yuval Filmus Well, people should be familiar at least with C, otherwise what are they doing here? This is not mathoverflow.
Oct 9, 2012 at 3:25 comment added Kaveh @Yuval, Gilles is right, the policy here is that algorithms should be described in a way that is accessible to people who are not familiar with a particular language as Gilles wrote.
Oct 7, 2012 at 9:08 history tweeted twitter.com/#!/StackCompSci/status/254870772739342336
Oct 6, 2012 at 22:29 comment added Yuval Filmus @Gilles: disagree with your claim that if the question involves code then it's off-topic. The question isn't about the code, it's about the algorithm. You only have to read one line to realize the OP was computing the expected value in the naive recursive way rather than using dynamic programming.
Oct 6, 2012 at 20:45 comment added Gilles 'SO- stop being evil' @Raphael Please do not recommend using external sites that may become inaccessible and may expire content. All relevant material should be on the site. The code does not belong here at all; Chopra: please describe the algorithm in a way that doesn't require the reader to know C++.
Oct 6, 2012 at 20:43 history edited Gilles 'SO- stop being evil' CC BY-SA 3.0
English; formatting
Oct 6, 2012 at 20:33 comment added Gilles 'SO- stop being evil' Please do not post the same question on multiple sites. When your question has code, it's probably off-topic here and should be on Stack Overflow; we can help you with the algorithm, however. For help with code, ask on Stack Overflow.
Oct 6, 2012 at 14:34 comment added Raphael Please don't post long blurbs of real code and restrict yourself to pseudocode which highlights the central ideas of the algorithm. You can put your full code on pastebin.com or similar, if you think it can be useful for others, and link to it; your post should not rely on its availability, though.
Oct 6, 2012 at 14:27 answer added Yuval Filmus timeline score: 4
Oct 6, 2012 at 14:17 review Close votes
Oct 6, 2012 at 20:32
Oct 6, 2012 at 10:02 history asked Chopra Jack CC BY-SA 3.0