To me, it's better than spending months of your free time grinding leetcode to get past an interview (everyone wants to hire like FAANG now).
You get a small reward in return if the contribution is accepted and you get to contribute to the world corpus of knowledge.