It is highly encouraged to memorize the entire Quran, as this brings great reward, but it is not mandatory. Many choose to memorize parts of the Quran that resonate with them the most, such as surahs used in daily prayers. Every effort towards memorizing the Quran, no matter how much, holds immense reward in the sight of Allah.