This is the related question; screenshot below for users who don’t have enough reputation to see it:
I added an answer and a person commented on it saying that it is not a good one. The answer is quite a long solution and I found another easier and specific way.
Should I edit my answer adding both answers or delete it and answer only the easier more specific way?
My concern is that if I edit the answer that comment gets non related and nonsense.