Practice and applying is the only way to master things, concepts and methodologies, even some people might claim that examples is a way to "help" people learn.
I got the message of that before i read Einstein quote, i was doing a small algorithm and it took from me some time, until i make a small example and retry to write the algorithm again, it was just few seconds.
A small advice, when you need to do or learn any thing use a small example, to illustrate this i will write you a small example :), Einstein made a lot of trials and examples before he reached his famous discoveries .