I will tell you honestly - when I was your age (now I practice it much less often) before exams and especially important lectures I trusted myself completely to nootropics https://nootropicboost.com/ which helped me in studying the subject, passing the exam and memorizing it quickly. The way is legal, but as with everything, you should be careful.