Depression, lack of motivation, are functional. They kick in when you don't think your prospects are good, prompting you to step back and think. If you were sufficiently convinced grinding LeetCode was a good career move, you would be motivated. The fact that you're not suggests you should do some research rather than plowing ahead. What do employers really care about? What's the best way to convince them you've got it? Where do you fit in?