Today, I came across this question which has been closed as off-topic for the reason:
Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
Now, if you follow that link, it appears that the question could quite easily fit into three of the positive categories, "a specific programming problem", "a software algorithm" and "a practical, answerable problem that is unique to software development".
It also appears not to be otherwise covered by any of the six exceptions, although I guess a case could be made that interview questions are similar to homework and no indication was given in the original question as to what effort had been made (I tend to assume in those cases, when answering, that the poster has no idea so simply provide guidance).
In any case, I edited the question to the best of my abilities to indicate the OP had no idea how to approach the problem but it appears to me that even the original question was a valid one, based on the guidelines given.
So what is it about this question that makes it unsuitable for SO (if that is indeed the consensus view)? Are we to disallow interview questions like we used to with homework?