ANSWER:
Memorizing the Quran in general is one of the greatest deeds.
Memorizing the beautiful names of Allah is a good deed but it must be accompanied by knowing their meaning and acting upon that.
https://islamqa.info/en/answers/75894/the-virtues-of-soorat-ya-seen