12
\$\begingroup\$

Recently, when answering this question, I devised two solutions, each with a different approach. Now my doubt, and the point of this question, is whether I should've posted both solutions under a same answer.

What should be the accepted practice for this?

\$\endgroup\$

2 Answers 2

23
\$\begingroup\$

For code games, I'd say that if the solutions are distinct (different languages, different algorithmic approaches) that you should post them separately.

\$\endgroup\$
7
\$\begingroup\$

I've used multiple answers many times when doing different languages. Less often for different algorithms, but I do not hesitate to do so if I believe both/all answers are interesting enough.

Nobody has complained thus far :)

\$\endgroup\$

You must log in to answer this question.

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