You can memorize problem solving techniques or approaches and add them to your toolbox of tricks. I used spaced repetition to memorize 100+ difficult leetcode problems and learn math. I've found it consistently will get you between 0.5-1 standard deviation better performance, as measured by comparing myself to the university course websites I'm using to learn. The trick is just to put problems rather than definitions, etc. as the card to be memorized.