I recently posted a fairly standard Stack Overflow question about how to use an existing library to accomplish a task. (I'm being purposely vague to avoid shaming the answerer.)
I didn't receive any answers for a few days, and eventually after googling for a day, I found what seemed to be a solution, which I implemented and began testing.
Then, when I had actually forgotten about the question, I noticed that someone had answered it. Their answer was the unfortunately common "no sandwich", where they start by saying it's not possible and explain why for a bit, give the answer, and then end with saying it's not possible and that I should do something else. Their middle answer was correct though, and linked to the exact file I already used to implement my solution.
I think technically their answer is correct (it is literally what I did), but I feel like it is the worst version of the answer. If I upvote it, other people asking the same question might only get two paragraphs into the answer and then give up, thinking it is not possible.
Should I post my own version of the answer, with the irrelevant details excluded, just providing the answer? I think I can also provide an example and overall improve the answer. My main concern is that it will very much look like I just copied their answer and am trying to avoid marking them as the accepted answer by answering the question myself.
Information: My question wasn't asking to do anything that was a bad practice, such as calling undocumented Windows functions. I think the question just required combining two technologies, where the answerer was very familiar with one, and not familiar at all with the other. So naturally their response was skewed towards what they knew, and away from the technology they weren't that familiar with.