I am new to answering questions on SO. As a former instructor, my answers can be "thorough". In one case, my answer has been accepted but it did not give the OP exactly what he wanted because what he wanted was impractical. But I gave him some good examples and he was happy. Subsequently I was able to come up with several permutations that got closer to what he was looking for. So now the answer has several updates that evolve toward a recommended solution. It feels pretty long and I thought about editing it to consolidate or eliminate some of the examples. As an accepted answer, though, I am not sure how much I should actually remove. The examples do follow a path that leads up to a much better answer. I am inclined to leave it. But I would like to know if there is a rule-of-thumb about the author editing his/her own answer when it has already been accepted.
For reference, the question is Removing taken numbers from a List.