Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This user has editted my question with nonsense text and put the same text on the answer:
What to do in this cases?
ps: the question
Roll back or reject the edit (you did) and flag the answer (you didn't). In this case, the "spam" flag would be appropriate - I've gone ahead and done this for you. I also destroyed the user account responsible for this.