How did you go about remembering new algorithms that you learnt?

For e.g you learnt some new algos in the long challenge. How did you make sure that you can now implement it yourself without any help.
Did you make notes or short notes or practiced them again and again or read them?

Just practice more (easy-medium or medium-hard) problems related to it and implement it by own.