I have faced a question where I sat and tried things and solutions to the issue with the author of the question.
Then I made an answer and posted it. Shortly after, I was editing and adding some format to the answer, and the question got deleted!
Why do they delete their question when there is an answer and there might be someone in the future who would benefit? Is it just because they don't want to give an upvote or select as correct answer?
Is it selfishness?
What can I do to deal with this issue?
Edit: Here is the Deleted SO Question.