It's not uncommon for someone to arrive at a similar solution to yours shortly after you've posted the answer. Admittedly, 10 minutes later isn't exactly "shortly after", but it's still within reason - perhaps they're a slow typist, or were watching videos on YouTube while formulating the answer.
Flags on this would be rightfully declined since there's no hard evidence to suggest that your answer was "invalidated" or plagiarized. Now, if the answer were a bit older (let's say for the sake of argument, a day or so), then you might have a case, since it's not a matter of two people arriving at the same solution around the same time.
You should keep your answer there and don't fret the other one. Definitely do not rollback their answer in this scenario, as they have done nothing that would explicitly merit a rollback of content.
sort
. are you claiming that in 76 seconds they read your answer, copied your code and altered it to look near identical to their own? are you claiming they stole your idea of doing it all in one line because if so you can be accused for the same thing aswell as another answer was posted 68 seconds before yours showed how you can do it in one line