Its useful if you have the willpower or proficiency. Took me a while to get good enough to do it well. Afterwords though it was very useful for whiteboarding interviews.
If you have interviews that include coding exercises (so basically all tech interviews) you will be much more proficient at solving them if you practice on leetcode. It's also good in general to help retain knowledge of data structures and algorithms.