hi
This thread may seem silly to some,but this problem is really getting on my nervs

When you read source code for whatever kind of program,do you try to memorize the algorithm?How long does it stay in your memory?
For example,when I read TFTP source code on linux,I tried to remember the program's algorithm(by memorizing I don't mean the names of variables and function, but instead what function calls what function,where in program is function called and what for)
Anyway,I noticed that in week or two after remembering the algorithm,I almost completely forgot.

This wouldn't be such a problem if not for the fact that programming is all about algorithms.

Do you try to memorize algorithms or do you keep them in memory only for the time you need them,and if later need for particular algorithm arises,you learn it all over again?

any and all help will be appreciated