I came across this question today:
Count the ways to partition an array into two equal sets
This question can be interpreted in a way, that it asks for a complete rewrite of the code, and indeed some of the answerers do that.
My question is:
- Is a question that asks for a complete rewrite of a piece of code is acceptable in Code Review.SE?
- If a question does not asks for that (or even if it does), are answers that suggest complete rewrite of the code acceptabe?