I would like to have a complete list of the code I have written for problems. It helps me to look up solutions and I quite often remember a problem and how it is applicable, but not how exactly I coded it. It would be kind of a “multiplication table” for code solutions.
That would be nice, but google already provides a superior feature, with the bonus of providing new input from other people.
If you really wanted to have this for what you wrote yourself, then you would need to set it up yourself, such as in a hierarchical directory structure to let you find them quickly.
I think the more valuable thing to bring with you from what you wrote though, is what’s possible to do. That’s sufficient to look it up later with a search engine.