If I'm faced with a typical coding problem to which I don't know the solution it seems natural/logical to post the question on Stack Overflow and ask others for a solution.
However, if I already have a working solution but am wondering whether a better solution exists, should I still post that on Stack Overflow or is it perhaps better suited for Code Review (or even somewhere else)? From one perspective, I do already have working code and am asking others to review it in order to perhaps suggest a better alternative, i.e. I should post it on Code Review. However, I don't want to waste the time of people on Code Review if this type of question really should stay on Stack Overflow, as it really is just asking for a coding solution to a particular problem.
I could just not include my working solution in my question and post it to Stack Overflow as a standard naive question. However, that seems a bit disingenuous and is potentially asking others to waste their time coming up with a solution I already have. Moreover, if I already know one (potentially obvious) solution to the question, I don't want to waste my time by responding to others coming up with the same solution. And in fact, my real question is, given the fact that I already know a particular solution, is there an even better way of doing it?
So, where should I post such a question?