After looking at this question for a few minutes, along with its respective votes, comments, and edits, all of this got me thinking a bit, if maybe we're getting to aggressive into identifying so-called "homework questions", which, according to several sources, such as this one, that one, and the other one, aren't by themselves bad questions, or questions meriting downvoting+flagging+close votes combos.
Anyway, that's not the case here. Let me explain it a bit more. If you look at the question's edit history, buried at the bottom is the original post, right? Well, it turns out that such a post contained two misleading sentences:
It would be really helpful if both recursion and iterative solutions are provided.
: This sentence clearly looks like a homework-style requirement, and so was the question though to be so....such that the digit in the n'th is never greater than the n'th digit of the given number.
: This sentence was unintelligible, and so was the question though to be poorly/lazyly written, if not copy-pasted.
Then, after about 11 minutes after the original post, the second comment stated: Stack overflow is not a homework or a literal 'free'lancer service. Don't ask people to do the work for you.
, and as a result, the question immediately got two downvotes. This is my first point. As soon as someone comments that SO is not for homework, downvotes, flags, and what-not come in.
The OP then proceeded to clarify all of this, and to state that English is not his first language. He said that the first sentence's intention was for him to learn about recursive and iterative styles, and so the first conflicting sentence was to be interpreted as "I would like to practice recursion and iterative styles, and so it would be helpful if an answer could provide examples relating to this proper problem"
. The second sentence was apparently kind of a typo/translation error, and not any sort of copy-paste. After editing both sentences, and asking for reconsidering the votes, the question was fortunately upvoted twice.
The OP also clarified that it was not a homework/job assignment, but rather something for himself to practice and learn. He reiterated this with by adding a message at the top of the question to avoid further issues.
This is definitely not the first time I have seen this kind of situations. However, I am unable to find those previous examples. So, how should questions be considered to be "homework", and what should be the behavior towards non-perfect-English posts?
Just because of two misleading sentences, the community reacted in a harsh way, and it happened not to even be a homework question in the first place. Is this the way we're supposed to behave?
for
loop or other single concept) which not necessary given by some teacher (could be self-imposed, some competition, interview question).