I learn by solving problems. The result I want to achieve is being able to solve problems (quickly and correctly), and not being able to understand the theory from books, and I take the most straightforward path to the goal.
I don’t ever learn from theory. If I try learning theory, it’s always after being unable to solve some problem involving it. I also prefer trying to think about the problems by myself and only resort to editorials after being completely clueless; the same with trying to implement new ideas - I try to do this by myself first. That way, I learn how to think and code in general and without external help.
I noticed how it often happens that when solving a problem, I relate the solution to similar ones in other problems I’ve solved, or even random short ideas (even incorrect ones) I’ve heard somewhere. This is a good measure of how well you can pick the right solution from what you’ve learned
Of course, everyone has their own way to study. It’s well possible that you’re unable to think the way I do, which renders this post useless In that sense, any “how to study” text can sound as bullshit.