When I was asked to memorize those during P1, I typed everything up into an excel file with sort functions. Then I sorted in different ways alphabetically with generics, brand, and eventually studied everything by classes. Even though I knew >70% of drugs on the list through work experience, there were still gaps like: not knowing all available strengths, subtle formulation differences and their different brand names, not knowing generic names of drugs that are still brand-only, etc.
For now, if you have no work experience, I would recommend grouping drugs by "class." A lot of these drugs all end with the same endings if they have the same mechanism of action, which arise from structural similarities (generally, not always). Classic example: "statins" -> lovastatin, pravastatin, simvastatin, atorvastatin, rosuvastatin, etc..all cholesterol lowering drugs that inhibit HMG-CoA reductase. This way, it will be easier to memorize names+indications+side effects that are shared within the same class.