Unpopular answer alert:
Doing leetcode like problems on a semi-regular basis helps me a lot.
Doing leetcode like problems on a semi-regular basis helps me a lot.
This skill wont solve all of your problems, but if you have a lot of theories you want to test then your ability to implement them quickly is invaluable, and testing a lot of your theories is how you learn most of the other important skills related to software engineering.