Memory
Memory can be improved with practice and spaced repetition you can look into how you can practice better spaced repetition.
Focused vs Diffused Mode
Concentration example as ping pong when the obstacles are closed by and bounce off of each other you develop ways to grasp difficult concept then diffused mode can help in making different ways to look at the problem.
Chunking
Pieces of brain that are bound together and linked so they can provide better learning, synthesise key ideas, fit like a ribbon into working memory. Focused attention Understanding and focus simple recall can help in better learning and better chunking
Illusion of Competence, Recall, Transfer
Try to avoid following just videos and/or solutions,
Overlearning Einstulling
Overlearning can occur when learning same topic multiple times in the same session, You can improve on it by taking a break or by learning something different which can be interleaved. Your same thought can become the hinderance in finding new solutions.
Interleaving
Jump to different problems. Look at more difficult problems sometimes so it can help your brain in making better.