1

This post seems to ask just for debugging. The user seems to have thought about the problem, and seems understandably stuck. However, I feel that this question is more suitable for the "stackoverflow" website because it seems to be more about correctness in the coding rather than scientific computing or computational science.

According to the feedback posted on this meta post, I think it falls into the category of "posting lots of code and asking 'debug this' ", but I want to get some feedback from others. Do you feel the same way? Does this question fall within our scope?

1

It's on-topic enough here to leave it as is.

0

It's a homework help question, and it could have gone into StackOverflow because it is a fairly straightforward algorithms question. It is also reasonably on-topic here, since it is computational.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .