I recently answered this question, with an initial brief explanation. I then added the code and the additional clarification of what failed with the existing code. I saw that another person had posted a similar initial answer, a minute after mine. After another twenty seconds or so, their post soon had the exact same fixed code as mine. I'm not accusing them of stealing my answer, but isn't it a bit unfair that theirs was marked as correct? I don't care about the reputation aspect, but I know people posting essentially duplicate answers has been an issue brought up here in the past, and it upsets me a bit that even though mine was posted first, his was marked as correct though it contained duplicate information.
Perhaps there could be a way to mark answers as duplicate? Or split the checkmark into chunks?