I used to post my solution if I really liked the problem.
Once I got stuck with a problem and I was going to other solutions, where I see that most of the solutions were difficult to understand and I had to spend a lot of time to actually understand the working.
I realized that just posting the solution is not doing any good to the community.
Just a request to all the coders out there to kindly put a liitle explanation of your working code.
This is my personal opinion.