Nothing wrong with it, keeps you sharp. I haven't done any LeetCode challenges myself but I had a lot of fun with Project Euler (https://projecteuler.net) back in the day.
I had a good time using Project Euler puzzles as a way to gain familiarity with new programming languages or getting the hang of using Vim for the first time!