Just verifying, as I'm the mod who closed the question as not a real question.
As Robert said in the comments, it was a "very low quality" flag.
This is essentially a "give me the code question". This falls under the "not a real question" category. Questions of this sort are frowned upon on SO.
Some advice:
- If you are going to ask questions of this nature, show some code of what you did and if you have a specific problem point, target that point in the question.
- If you have code that works but want to get suggestions on how to make it better, post your question on Code Review (as it would be OT for SO).
- If you want discussion about how to best approach this (without really asking for code), ask it on Programmers.
While Robert believes it is a good question, there are those in the community that believe that it is not (and obviously those that do, it was flagged for closing and for reopening).
The best piece of advice that I can give you is to update your question so that it doesn't come across as a "give me the code" type of question.
As it stands now, it's possible that someone will flag your question again and another moderator might agree that the question should be closed (depends on who gets to it in the mod queue, if it gets brought there).
If you adjust your question in this way (and not in a way that makes it sound like it should belong on one of the other two sites) then the chances of it being flagged again will probably drastically decrease.
Now I need to generate all permutations...
) might have resulted in some users flagging it, and the mod acting on these flags.